1.0.6 • Published 5 years ago
@ewtd/ewt-icon v1.0.6
USAGE
Install
$ npm i @ewtd/ewt-icondemo
import Icon from '@ewtd/ewt-icon';
<Icon type="info" />API
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| type | icon 类型(info warning success arrow-right close error triangle-down triangle-up) | string | - |
| className | 添加自定义class | string | '' |
| style | 自定义样式 | object | {} |
| prefixCls | 样式名前缀 | string | ewt-icon |