副标题
Subtitle
块可以作为文档条目的二级标题。
import { Subtitle } from '@storybook/addon-docs/blocks';
<Subtitle>This is the subtitle</Subtitle>
副标题
import { Subtitle } from '@storybook/addon-docs/blocks';
Subtitle
使用以下 props 进行配置
children
类型: JSX.Element | string
默认值: parameters.docs.subtitle
提供内容。
of
类型: CSF 文件导出
指定显示哪个 meta 的副标题。