mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
20 lines
445 B
TypeScript
20 lines
445 B
TypeScript
|
export type BannerVariant = 'warning' | 'info' | 'error' | 'success';
|
||
|
|
||
|
export interface IMessageBanner {
|
||
|
message: string;
|
||
|
variant?: BannerVariant;
|
||
|
sticky?: boolean;
|
||
|
icon?: string;
|
||
|
link?: string;
|
||
|
linkText?: string;
|
||
|
plausibleEvent?: string;
|
||
|
dialogTitle?: string;
|
||
|
dialog?: string;
|
||
|
}
|
||
|
|
||
|
export interface IInternalMessageBanner extends IMessageBanner {
|
||
|
id: number;
|
||
|
enabled: boolean;
|
||
|
createdAt: string;
|
||
|
}
|