mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-21 07:22:53 +08:00
20 lines
450 B
TypeScript
20 lines
450 B
TypeScript
interface BaseNotification {
|
|
data: any;
|
|
ticks: number;
|
|
type: string;
|
|
message: string;
|
|
icon: string;
|
|
toast: boolean;
|
|
position: string;
|
|
showConfirmButton: boolean;
|
|
timer: number;
|
|
timerProgressBar: boolean;
|
|
}
|
|
|
|
export interface IAlert extends BaseNotification {}
|
|
export interface IToast extends BaseNotification {}
|
|
|
|
export interface INotification extends BaseNotification {
|
|
uid: string;
|
|
message: string;
|
|
}
|