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 | - |