| title | Subtitle | ||||
|---|---|---|---|---|---|
| sidebar |
|
The Subtitle block can serve as a secondary heading for your docs entry.
{/* prettier-ignore-start */}
import { Subtitle } from '@storybook/addon-docs/blocks';
<Subtitle>This is the subtitle</Subtitle>{/* prettier-ignore-end */}
import { Subtitle } from '@storybook/addon-docs/blocks';Subtitle is configured with the following props:
Type: JSX.Element | string
Default: parameters.docs.subtitle
Provides the content.
Type: CSF file exports
Specifies which meta's subtitle is displayed.
