diff options
Diffstat (limited to 'Timeline/ClientApp/src/app/common/alert-service.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/common/alert-service.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Timeline/ClientApp/src/app/common/alert-service.ts b/Timeline/ClientApp/src/app/common/alert-service.ts index 6d3f8af8..79eecc82 100644 --- a/Timeline/ClientApp/src/app/common/alert-service.ts +++ b/Timeline/ClientApp/src/app/common/alert-service.ts @@ -1,8 +1,10 @@ +import React from 'react'; import pull from 'lodash/pull'; export interface AlertInfo { type?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info'; - message: string; + message: string | React.FC<unknown> | { type: 'i18n'; key: string }; + dismissTime?: number | 'never'; } export interface AlertInfoEx extends AlertInfo { |