woocommerce/plugins/woocommerce-admin/client/marketing/components/button
Jason Conroy 8afaa58b9e Update marketing tab styles (https://github.com/woocommerce/woocommerce-admin/pull/4794)
* 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
2020-07-16 15:22:06 +09:30
..
README.md Button: Remove deprecated isDefault (https://github.com/woocommerce/woocommerce-admin/pull/4548) 2020-06-12 07:22:20 +12:00
index.js Update marketing tab styles (https://github.com/woocommerce/woocommerce-admin/pull/4794) 2020-07-16 15:22:06 +09:30
style.scss Update marketing tab styles (https://github.com/woocommerce/woocommerce-admin/pull/4794) 2020-07-16 15:22:06 +09:30

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