Skip to main content

ShareEmail

@shopify/shop-minis-platform-sdk / components/ShareEmail

ShareEmail()

ShareEmail(__namedParameters): Element

Component that displays a dialog for requesting a buyer to share their email with a merchant. Buyers always have the option to skip sharing their email.

The email is returned as an argument to the onClick callback function, or null if the user pressed 'Not now'.

Parameters

ParameterType
__namedParametersDeprecatedProps | Props

Returns

Element