storybook/docs/api/doc-block-subtitle.md
Kyle Gach c03f0da058 Add Doc Blocks overview & API reference
- Remove Doc Blocks guides
- Update `docs/api/argtypes` to include information that was in `docs/writing-docs/doc-block-argstable`
- Update TOC
    - Change `Write docs > Doc blocks` from a menu to a page
    - Add `API > @storybook/blocks menu`
2023-02-21 22:38:18 -07:00

444 B

title
Subtitle

The Subtitle block can serve as a secondary heading for your docs entry.

Screenshot of Subtitle block

API

Subtitle

import { Subtitle } from '@storybook/blocks';

Subtitle is a React component which accepts props of type SubtitleProps.

SubtitleProps

children

Type: JSX.Element | string

Provides the content. Falls back to value of parameters.componentSubtitle.