副標題
觀看影片教學
Subtitle
區塊可以用作您文件條目的次要標題。
{/* ButtonDocs.mdx */}
import { Subtitle } from '@storybook/blocks';
<Subtitle>This is the subtitle</Subtitle>
副標題
import { Subtitle } from '@storybook/blocks';
Subtitle
使用以下 props 進行設定
children
類型:JSX.Element | string
預設值:parameters.docs.subtitle
提供內容。
of
類型:CSF 檔案匯出
指定要顯示哪個 meta 的副標題。