|
|
@ -64,6 +64,12 @@ ReactDOM.render(<IconSet className="icons" catigory="logo" />, mountNode); |
|
|
|
|
|
|
|
## API |
|
|
|
|
|
|
|
You can set `style` and `className` for size and color of icons because they are still words in essence. |
|
|
|
|
|
|
|
```jsx |
|
|
|
<Icon type="question" style={{ fontSize: 16, color: '#08c' }} /> |
|
|
|
``` |
|
|
|
|
|
|
|
| Property | Description | Type | Default | |
|
|
|
|----------|------------------|------- |---------| |
|
|
|
| type | Type of ant design icons | string | - | |
|
|
|