XIcon
You don't need to import this component.
Icons come from Ionicons(MIT)
x-icon is a virtual component,which means you don't need to import XIcon, vux-loader@^1.0.46 will transform your code into inline svg。
you can set fill style by its class names.
Currently it does not support svg sprite,will implement in later release.
<x-icon type="ios-arrow-up"></x-icon>
<x-icon type="ios-arrow-up" size="30"></x-icon>
API
Variables
Props
| name | type | default | description | required version |
| type | string | icon name | -- | |
| size | string | 24 | icon size | -- |
Variables
| name | default | description | inherited name |
| @icon-success-color | #09BB07 | -- |