标题
Title 块是您文档条目的主要标题。它通常用于提供组件或页面名称。

import { Title } from '@storybook/addon-docs/blocks';
<Title>This is the title</Title>Title
import { Title } from '@storybook/addon-docs/blocks';Title 使用以下 prop 进行配置
children
类型: JSX.Element | string
提供内容。如果在 已附加 的 CSF 文件中未找到 title 值(或从 autotitle 派生的值),则回退到这些值,并截取到最后一个段。例如,如果 title 的值为 'path/to/components/Button',则默认内容为 'Button'。
of
类型: CSF 文件导出
指定要显示哪个 meta 的 title。
