Skip to content

Tag 标签 ​

基础用法 ​

展开

不同大小 ​

展开

Props ​

参数名参数类型类型简介示例默认值
colorsTagColors颜色#基础使用'default'
sizeTagSize大小#不同大小'md'

Type ​

typescript
export type TagColors = 'default' | 'primary' | 'warning' | 'danger';
export type TagSize = 'sm' | 'md' | 'lg';