You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/icon/index.en-US.md

14 lines
457 B

7 years ago
## 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 | - |