UNPKG

@wordpress/components

Version:
22 lines (18 loc) 450 B
/** * Internal dependencies */ import Card from '../index'; import CardBody from '../body'; import CardDivider from '../divider'; import { getCardStoryProps } from './_utils'; export default { title: 'Components/Card/Divider', component: CardDivider }; export const _default = () => { const props = getCardStoryProps(); return ( <Card { ...props }> <CardBody>...</CardBody> <CardDivider /> <CardBody>...</CardBody> </Card> ); };