Skip to main content

ShareEmail

caution

This documentation is outdated and only applies to partners with existing Minis. Please check back soon for new platform announcements.

@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