初始化版本库,可用

This commit is contained in:
2021-01-28 10:17:21 +08:00
commit d2573c0b1c
1750 changed files with 41088 additions and 0 deletions

18
types/Common/Toaster.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
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;
}
declare type ToasterFunction = (option: IToasterOption) => void;
export declare const ToasterInjectFunctions: ToasterFunction[];
export declare function Toaster(option: IToasterOption): void;
export {};
//# sourceMappingURL=Toaster.d.ts.map