mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 08:01:54 +08:00
- Consistently include space after filename comment - Include `<Meta />` in snippets for blocks that are used in attached docs - Grammatical improvements
569 B
569 B
title |
---|
Subtitle |
The Subtitle
block can serve as a secondary heading for your docs entry.
{/* ButtonDocs.mdx */}
import { Subtitle } from '@storybook/blocks';
<Subtitle>Allows the user to start an action</Subtitle>
Subtitle
import { Subtitle } from '@storybook/blocks';
Subtitle
is configured with the following props:
children
Type: JSX.Element | string
Default: parameters.componentSubtitle
Provides the content.