Caption
The
<Caption>
<Row>
Example
NormalThis is a regular caption. It will attempt to respond to it’s container element appropriately.
This is a full width caption. With this prop, the caption’s width will be 100% so it will fill its container.
Code
Normal<Caption>This is a regular caption. It will attempt to respond to it’s containerelement appropriately.</Caption>
Full-width
<Caption fullWidth>This is a full width caption. With this prop, the caption’s width will be 100%so it will fill its container.</Caption>
Props
property | propType | required | default | description |
---|---|---|---|---|
children | node | |||
fullWidth | bool | Set to full width | ||
className | string | Add custom class name |