14 lines
457 B
Markdown
14 lines
457 B
Markdown
## API
|
|
|
|
You can set `style` and `className` for size and color of icons because they are still fonts in essence.
|
|
|
|
```jsx
|
|
<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 | - |
|