@ewtm/ewtm-question

An ewtm component

Usage no npm install needed!

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

README

USAGE

Install

$ npm i @ewtm/ewtm

demo

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

...

<EmptyData />

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
uploadCallback 图片上传成功后回调函数 () function () => {}