@ewtm/ewtm-icon

An ewtm component

Usage no npm install needed!

<script type="module">
  import ewtmEwtmIcon from 'https://cdn.skypack.dev/@ewtm/ewtm-icon';
</script>

README

USAGE

Install

$ npm i @ewtm/ewtm

demo

import { Icon } from '@ewtm/ewtm';

...

<Icon />

API

参数 说明 类型 默认值
lang 语言包类型 (zh-cn en) string
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