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