woocommerce/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/SendMagicLinkButton.tsx

16 lines
363 B
TypeScript
Raw Normal View History

/**
* External dependencies
*/
import { Button } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
export const SendMagicLinkButton = ( {
onClickHandler,
}: {
onClickHandler: () => void;
} ) => (
<Button className="send-magic-link-button" onClick={ onClickHandler }>
{ __( '✨️ Send the sign-in link', 'woocommerce' ) }
</Button>
);