Note / 提示
显示一段用于提示的额外文本信息。
基础的
显示文本信息或是组件内容。
次要的
状态
隐藏标签
定制标签
变体
APIs / 接口文档
Note.Props
属性 | 描述 | 类型 | 推荐值 | 默认 |
---|---|---|---|---|
type | 提示类型 | NoteTypes | NoteTypes | default |
label | 是否显示标签,或是自定义标签 | boolean / string | - | - |
filled | 填充色彩的变体提示框 | boolean | - | false |
... | 原生属性 | HTMLAttributes | 'id', 'className', ... | - |
NoteTypes
type NoteTypes = 'default' | 'secondary' | 'success' | 'warning' | 'error'
文档贡献者