woocommerce/plugins/woocommerce-admin/client/marketing/components/button
RJChow 26ec889111 Manually change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client .md files 2022-04-01 11:41:32 +08:00
..
README.md Manually change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client .md files 2022-04-01 11:41:32 +08:00
index.js Convert the marketing tab cards to use the new @wordpress/components Card component. (https://github.com/woocommerce/woocommerce-admin/pull/5428) 2020-10-23 14:41:45 +08:00
style.scss Update @wordpress/base-styles and replace deprecated variables (https://github.com/woocommerce/woocommerce-admin/pull/4759) 2020-07-17 12:11:42 +12:00

README.md

Button

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

Usage

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

Props

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