Typography 排版
展示文本内容。
标题
段落
文本
链接
API
Typography Props
等价于
HTMLAttributes<HTMLElement>
Typography.Link Props
继承自
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 | - |