From fc19008962790e1042b29d1e6afe1a76980223e3 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 20 Feb 2021 22:45:07 +0800 Subject: ... --- FrontEnd/src/app/services/alert.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FrontEnd/src/app/services') 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 | I18nText; dismissTime?: number | "never"; } -- cgit v1.2.3