mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 23:12:03 +08:00
- 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`
444 B
444 B
title |
---|
Subtitle |
The Subtitle
block can serve as a secondary heading for your docs entry.
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
.