mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
docs: fix twoToneColor description (#48011)
* fix: icon twoToneColor 传递值的类型,标注不清楚问题 Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com> * Update components/icon/index.zh-CN.md Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com> Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
parent
a3077e449e
commit
72a7d86b6f
@ -47,7 +47,7 @@ demo:
|
||||
| rotate | 图标旋转角度(IE9 无效) | number | - | |
|
||||
| spin | 是否有旋转动画 | boolean | false | |
|
||||
| style | 设置图标的样式,例如 `fontSize` 和 `color` | CSSProperties | - | |
|
||||
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色 | string (十六进制颜色) | - | |
|
||||
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色,支持设置十六进制颜色字符串 | string \| string[] | - | |
|
||||
|
||||
其中我们提供了三种主题的图标,不同主题的 Icon 组件名为图标名加主题做为后缀。
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user