@ewtm/ewtm-icon
v0.1.5
Published
An ewtm component
Downloads
17
Readme
USAGE
Install
$ npm i @ewtm/ewtm
demo
import { Icon } from '@ewtm/ewtm';
...
<Icon />
API
|参数|说明|类型|默认值|
|---|----|---|------|
|lang|语言包类型|(zh-cn
en
)|string|zh-cn
|
|className|添加自定义class|string|''|
|style|自定义样式|object|{}
|
|prefixCls|样式名前缀|string|ewtm-tmplate
|
|children|描述文案|any|暂无数据
|
|icon|自定义图片|string|https://yukap6.github.io/images/empty.png
|
|type|背景图片类型 (small
medium
large
)|string|medium
|