Skip to content

Commit 72a7d86

Browse files
docs: fix twoToneColor description (ant-design#48011)
* fix: icon twoToneColor 传递值的类型,标注不清楚问题 Signed-off-by: Githubkuankuan <[email protected]> * Update components/icon/index.zh-CN.md Signed-off-by: afc163 <[email protected]> --------- Signed-off-by: Githubkuankuan <[email protected]> Signed-off-by: afc163 <[email protected]> Co-authored-by: afc163 <[email protected]>
1 parent a3077e4 commit 72a7d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/icon/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ demo:
4747
| rotate | 图标旋转角度(IE9 无效) | number | - | |
4848
| spin | 是否有旋转动画 | boolean | false | |
4949
| style | 设置图标的样式,例如 `fontSize``color` | CSSProperties | - | |
50-
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色 | string (十六进制颜色) | - | |
50+
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色,支持设置十六进制颜色字符串 | string \| string[] | - | |
5151

5252
其中我们提供了三种主题的图标,不同主题的 Icon 组件名为图标名加主题做为后缀。
5353

0 commit comments

Comments
 (0)