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:
Githubkuankuan 2024-03-22 23:11:33 +08:00 committed by GitHub
parent a3077e449e
commit 72a7d86b6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ demo:
| rotate | 图标旋转角度IE9 无效) | number | - | |
| spin | 是否有旋转动画 | boolean | false | |
| style | 设置图标的样式,例如 `fontSize``color` | CSSProperties | - | |
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色 | string (十六进制颜色) | - | |
| twoToneColor | 仅适用双色图标。设置双色图标的主要颜色,支持设置十六进制颜色字符串 | string \| string[] | - | |
其中我们提供了三种主题的图标,不同主题的 Icon 组件名为图标名加主题做为后缀。