storybook/docs/api/doc-block-subtitle.md
Kyle Gach 044d9e811a Restructure content and improve type documentation
- Simplify heading hierarchy
- Make it more explicit that some block's prop's default values are derived from parameters
2023-02-21 22:38:18 -07:00

24 lines
371 B
Markdown

---
title: 'Subtitle'
---
The `Subtitle` block can serve as a secondary heading for your docs entry.
![Screenshot of Subtitle block](TK)
## Subtitle
```js
import { Subtitle } from '@storybook/blocks';
```
`Subtitle` is configured with the following props:
### `children`
Type: `JSX.Element | string`
Default: `parameters.componentSubtitle`
Provides the content.