mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 00:12:54 +08:00
21 lines
426 B
TypeScript
21 lines
426 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: number,
|
|
message: string;
|
|
}
|