@mistong/eui-alert
v0.1.0
Published
An eui component
Downloads
9
Readme
USAGE
Install
$ npm i @mistong/eui
demo
import { Alert } from '@mistong/eui';
...
<Alert message="提示" />
API
|参数|说明|类型|默认值| |---|----|---|------| |className|添加自定义class|string|-| |type|警告的类型|string|info| |showIcon|是否显示图标|boolean|false| |icon|自定义EUI Icon|string|-| |closable|是否显示关闭按钮|boolean|false| |message|警告信息|string/element|-| |onClose|关闭警告的hook|function|-| |afterClose|关闭警告以后的hook|function|-|