CardDivider
renders an optional divider within a Card
. It is typically used to divide multiple CardBody
components from each other.
Usage
import { Card, CardBody, CardDivider } from '@wordpress/components';
const Example = () => (
<Card>
<CardBody>...</CardBody>
<CardDivider />
<CardBody>...</CardBody>
</Card>
);
Props
Inherited props
CardDivider
inherits all of the Divider
props.