mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
Update tag color (#22303)
This commit is contained in:
parent
7c2e2af9a7
commit
3f448e3053
@ -7,11 +7,11 @@ title:
|
||||
|
||||
## zh-CN
|
||||
|
||||
3.16.0 后新增。我们添加了多种预设色彩的徽标样式,用作不同场景使用。如果预设值不能满足你的需求,可以设置为具体的色值。
|
||||
我们添加了多种预设色彩的徽标样式,用作不同场景使用。如果预设值不能满足你的需求,可以设置为具体的色值。
|
||||
|
||||
## en-US
|
||||
|
||||
New feature after 3.16.0. We preset a series of colorful Badge styles for use in different situations. You can also set it to a hex color string for custom color.
|
||||
We preset a series of colorful Badge styles for use in different situations. You can also set it to a hex color string for custom color.
|
||||
|
||||
```jsx
|
||||
import { Badge } from 'antd';
|
||||
|
@ -128,7 +128,7 @@
|
||||
.make-color-classes();
|
||||
|
||||
.make-status-color-classes('green', success);
|
||||
.make-status-color-classes('cyan', processing);
|
||||
.make-status-color-classes('blue', processing);
|
||||
.make-status-color-classes('red', error);
|
||||
.make-status-color-classes('orange', warning);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user