Skip to content

Commit 0695b73

Browse files
authored
fix(statustag): change icon font-size and docs (#504)
1 parent 25a5151 commit 0695b73

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/statusTag/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ StatusTag 组件作用于任务运行状态效果展示
2626
### StatusTag
2727

2828
| 参数 | 说明 | 类型 | 默认值 |
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` |
3131
| icon | 自定义图标 | `React.ReactNode` | - |
3232
| loading | 状态标签载入状态 | `boolean` | `false` |
3333
| type | 状态类型 | `default \| outline \| fill` | `default` |
34-
| background | 背景颜色,仅在自定义颜色且为 fill 的情况下生效 | `string` | `--` |
34+
| background | 背景颜色,仅在 type 为 fill 的情况下生效 | `string` | `--` |

src/statusTag/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ $colors: (
5353
&__icon {
5454
display: flex;
5555
align-items: center;
56+
font-size: 16px;
5657
&--default {
5758
display: inline-block;
5859
width: 6px;

0 commit comments

Comments
 (0)