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

388 B

Button

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

Usage

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

Props

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