8afaa58b9e
* Fix incorrect woocommere-admin spelling * Update styles * Add icons * Add hover effect for coupon icons * Remove variable comment * Update color case * Style lint fixes * Use $theme-color * Update icons, use wordpress/icons where possible * Adjustment for using smaller default icons and no fills in the svgs * Use var(--wp-admin-theme-color) instead of $theme-color * Reorg coupons stylesheet * Update PropTypes for ProductIcon * Adjust icon export * Rever to using $theme-color * Add versions of link, people and currency-dollar * Overide coupons icon background color * Add background transition to icon wrapper |
||
---|---|---|
.. | ||
README.md | ||
index.js | ||
style.scss |
README.md
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 |