mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 06:11:05 +08:00
725 B
725 B
title |
---|
Subtitle |
The Subtitle
block can serve as a secondary heading for your docs entry.
{/* ButtonDocs.mdx */}
import { Subtitle } from '@storybook/blocks';
<Subtitle>This is the subtitle</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.