mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
457 B
457 B
API
You can set style
and className
for size and color of icons because they are still fonts in essence.
<a-icon type="question" style="font-size: 16px, color: #08c" />
Property | Description | Type | Default |
---|---|---|---|
spin | Rotate icon with animation | boolean | false |
style | style properties of icon, like fontSize and color | object | - |
type | Type of ant design icon | string | - |