woocommerce/plugins/woocommerce-admin/client/marketing/components/button/README.md

386 B

Button

This component creates simple reusable html <button></button> element.

Usage

<Button
	isDefault
	onClick={ this.onActivateClick }
	disabled={ isLoading }
>
	{ __( 'Activate', 'woocommerce-admin' ) }
</Button>

Props

Name Type Default Description
className String null Additional class name to style the component