Captioncomponent

Caption({ children, ...props }: CaptionProps): ReactElement
ParamType
propsCaptionProps
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>