Icon 组件
Icon 组件用于显示图标。
Props
| 属性名 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| name | string | - | 图标的名称。 |
| size | 'tiny' | 'small' | 'medium' | 'large' | 'huge' | 'medium' | 图标的尺寸。 |
| color | string | - | 图标的颜色。 |
| bgColor | string | - | 图标的背景颜色。 |
| type | 'none' | 'default' | 'primary' | 'secondary' | 'warning' | 'info' | 'default' | 图标的类型。 |
| textType | 'default' | 'primary' | 'secondary' | 'warning' | 'info' | 'default' | 图标文字的类型。 |
| textColor | string | - | 图标文字的颜色。 |
| shape | 'circle' | 'square' | 'circle' | 图标的形状。 |
| border | boolean | false | 是否带有边框。 |
| labelPosition | 'top' | 'right' | 'bottom' | 'left' | 'bottom' | 标签位置。 |
| shadow | boolean | false | 是否带有阴影。 |
| label | string | - | 图标的标签。 |
插槽
组件没有提供插槽。