123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { IBaseProps, IconType } from '../_util/base';
- type EnumToastType = 'success' | 'warning' | 'error' | 'loading';
- export interface IToastProps extends IBaseProps {
-
- onClose: (e: any) => void;
-
- content: string;
-
- icon: IconType;
-
- image: string;
-
- duration: number;
-
- visible: boolean;
-
- showMask: boolean;
-
- maskCloseable: boolean;
- maskStyle: string;
-
- type: EnumToastType;
- }
- export declare const ToastDefaultProps: Partial<IToastProps>;
- export declare const ToastFunctionalProps: Partial<IToastProps>;
- export {};
|