ver
This commit is contained in:
31
types/Common/Toaster.d.ts
vendored
31
types/Common/Toaster.d.ts
vendored
@@ -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
|
Reference in New Issue
Block a user