woocommerce/plugins/woocommerce-admin/client/marketing/components/card
Ilyas Foo 3b7c05a845 WordPress 5.8 compatibility UI fixes (https://github.com/woocommerce/woocommerce-admin/pull/7255)
* Add appropriate text props to supplement variant revamp

* Add font styles to navigation title since its removed in wp.components

* Add more missing styles

* Accidental change

* Add changelog

* Fix lint

* Update jest snapshots
2021-06-28 09:14:59 +08:00
..
test 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
README.md 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
index.js WordPress 5.8 compatibility UI fixes (https://github.com/woocommerce/woocommerce-admin/pull/7255) 2021-06-28 09:14:59 +08:00
style.scss 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

README.md

Card

This component is a simple wrapper around the Card component from @wordpress/components. It supports title and description props to be displayed in the card header.

Usage

<Card
  title="Title"
  description="Description goes here."
  className="className"
>
  <div>
    Any card content goes here.
  </div>
</Card>