forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-11 dfca64c71e4b06989e66f5d68fc5d89d98386b7b
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;