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