@mistong/eui-alert
0.1.0 • Public • Published
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 |
- |
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.0
5
Version History
- VersionDownloads (Last 7 Days)
- 0.1.0
5
Package Sidebar
Install
Weekly Downloads