forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-12 7d7a99d1561eec77ef7c6598c41fcc1e17b8e364
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
interface NotifyOptions {
    type?: 'primary' | 'success' | 'danger' | 'warning';
    color?: string;
    zIndex?: number;
    top?: number;
    message: string;
    context?: any;
    duration?: number;
    selector?: string;
    background?: string;
    safeAreaInsetTop?: boolean;
    onClick?: () => void;
    onOpened?: () => void;
    onClose?: () => void;
}
declare function Notify(options: NotifyOptions | string): any;
declare namespace Notify {
    var clear: (options?: NotifyOptions | undefined) => void;
}
export default Notify;