Note / 提示

显示一段用于提示的额外文本信息。

基础的

显示文本信息或是组件内容。

次要的

状态

隐藏标签

定制标签

变体

APIs / 接口文档

Note.Props

属性描述类型推荐值默认
type提示类型NoteTypesNoteTypesdefault
label是否显示标签,或是自定义标签boolean / string--
filled填充色彩的变体提示框boolean-false
...原生属性HTMLAttributes'id', 'className', ...-

NoteTypes

type NoteTypes = 'default' | 'secondary' | 'success' | 'warning' | 'error'