@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 -

/@mistong/eui-alert/

    Package Sidebar

    Install

    npm i @mistong/eui-alert

    Weekly Downloads

    5

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    57.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • caiyue823
    • yukap
    • ejayyoung
    • koshi
    • tellmepz