woocommerce/plugins/woocommerce-admin/client/marketing/coupons/card/README.md

347 B

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>