Weex common iconfont summary
weex-ui >= 0.3.10
<template> <wxc-icon name="success"></wxc-icon> </template> <script> import { WxcIcon } from 'weex-ui' export default { components: { WxcIcon } } </script>
More details can be found in here
Also you can copy the name
from demo
Prop | Type | Required | Default | Description |
---|---|---|---|---|
name | string | Y | - | icon name (*1) |
size | String | N | small | icon size xs /small /medium /big |
icon-style | Object | N | {} | style override (*2) |
*1:icon name list:['less', 'more_unfold', 'back', 'more', 'add', 'subtract', 'close', 'cry', 'search', 'delete', 'help', 'refresh', 'success', 'warning', 'wrong', 'clock', 'scanning', 'filter', 'map', 'play']
*2:When size is not satisfied, or needs a custom style size to pass into the style
overlay, for example:
style={color:red,fontSize:'60px'}
// `@wxcIconClicked="iconClicked"` will return name