mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:41:51 +08:00
672 B
672 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:
of
Type: CSF file exports
Specifies which meta's subtitle is displayed.
children
Type: JSX.Element | string
Default: parameters.docs.subtitle
Provides the content.