This commit is contained in:
ChenX
2024-09-25 17:40:49 +08:00
parent 20c3f892e7
commit 00b2b3fb90
678 changed files with 0 additions and 11826 deletions

View File

@@ -1,31 +0,0 @@
export declare enum Intent {
NONE = "none",
PRIMARY = "primary",
SUCCESS = "success",
WARNING = "warning",
DANGER = "danger"
}
export interface IToasterOption {
message: string | string[];
timeout: number;
intent: Intent;
key?: string;
}
type ToasterFunction = (option: IToasterOption) => void;
export declare const ToasterInjectFunctions: ToasterFunction[];
export declare function Toaster(option: IToasterOption): void;
interface IToasterShowEntityErrorOption {
intent: Intent;
msg: string;
timeout: number;
ent: any;
}
export declare const ToasterShowEntityMsgInjectFunctions: ((option: IToasterShowEntityErrorOption) => void)[];
export declare function ToasterShowEntityMsg(option: {
intent: Intent;
msg: string;
timeout: number;
ent: any;
}): void;
export {};
//# sourceMappingURL=Toaster.d.ts.map