Skip to content

Typography 排版

展示文本内容。

标题

段落

文本

链接

API

Typography Props

等价于 HTMLAttributes<HTMLElement>

继承自 AnchorHTMLAttributes<HTMLAnchorElement>

属性名描述类型默认值
underlined下划线。boolean-
disabled禁用状态。boolean-

Typography.Paragraph Props

等价于 HTMLAttributes<HTMLParagraphElement>

Typography.Text Props

继承自 HTMLAttributes<HTMLSpanElement>

属性名描述类型默认值
tags语义标签列表。Array<'strong' | 'del' | 'u' | 'i' | 'mark' | 'code' | 'kbd'>-
secondary次要文本样式。boolean-
disabled禁用文本样式。boolean-

Typography.Title Props

继承自 HTMLAttributes<HTMLHeadingElement>

属性名描述类型默认值
level标题层级。1 | 2 | 3 | 4 | 5 | 6-