Captioncomponent
Caption({ children, ...props }: CaptionProps): ReactElement| Param | Type | |
|---|---|---|
props | CaptionProps | Props for Caption — colour, space, and typography variants plus optional children. required |
| Return | |
|---|---|
ReactElement |
<figcaption> block — caption text for a <Figure>.
Examples
<Figure><Image src="/cat.jpg" /><Caption>A cat</Caption></Figure>