aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/services/alert.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-20 22:45:07 +0800
committercrupest <crupest@outlook.com>2021-02-20 22:45:07 +0800
commitfc19008962790e1042b29d1e6afe1a76980223e3 (patch)
tree16e0a546f8f962e9d9f2d3922e40113c92239700 /FrontEnd/src/app/services/alert.ts
parenta3bed8211eddfdec9742e8ec68f8c706f44a63b4 (diff)
downloadtimeline-fc19008962790e1042b29d1e6afe1a76980223e3.tar.gz
timeline-fc19008962790e1042b29d1e6afe1a76980223e3.tar.bz2
timeline-fc19008962790e1042b29d1e6afe1a76980223e3.zip
...
Diffstat (limited to 'FrontEnd/src/app/services/alert.ts')
-rw-r--r--FrontEnd/src/app/services/alert.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/app/services/alert.ts b/FrontEnd/src/app/services/alert.ts
index b6d6be6e..48d482ea 100644
--- a/FrontEnd/src/app/services/alert.ts
+++ b/FrontEnd/src/app/services/alert.ts
@@ -1,10 +1,10 @@
import React from "react";
import pull from "lodash/pull";
-import { I18nText } from "@/common";
+import { BootstrapThemeColor, I18nText } from "@/common";
export interface AlertInfo {
- type?: "primary" | "secondary" | "success" | "danger" | "warning" | "info";
+ type?: BootstrapThemeColor;
message: React.FC<unknown> | I18nText;
dismissTime?: number | "never";
}