File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ StatusTag 组件作用于任务运行状态效果展示
26
26
### StatusTag
27
27
28
28
| 参数 | 说明 | 类型 | 默认值 |
29
- | ---------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------ | --------- | --- |
30
- | color | 状态色,内置了六种颜色,不满足时可自定义(仅支持 RGB 和十六进制颜色) | ` blue \| yellow \| green \| gray \| red \| purple \| cyan \| pink ` \| ` string ` | ` success ` | - |
29
+ | ---------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------ | --------- |
30
+ | color | 状态色,内置了六种颜色,不满足时可自定义(仅支持 RGB 和十六进制颜色) | ` blue \| yellow \| green \| gray \| red \| purple \| cyan \| pink ` \| ` string ` | ` green ` |
31
31
| icon | 自定义图标 | ` React.ReactNode ` | - |
32
32
| loading | 状态标签载入状态 | ` boolean ` | ` false ` |
33
33
| type | 状态类型 | ` default \| outline \| fill ` | ` default ` |
34
- | background | 背景颜色,仅在自定义颜色且为 fill 的情况下生效 | ` string ` | ` -- ` |
34
+ | background | 背景颜色,仅在 type 为 fill 的情况下生效 | ` string ` | ` -- ` |
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ $colors: (
53
53
& __icon {
54
54
display : flex ;
55
55
align-items : center ;
56
+ font-size : 16px ;
56
57
& --default {
57
58
display : inline-block ;
58
59
width : 6px ;
You can’t perform that action at this time.
0 commit comments