alert before clean browsers
This commit is contained in:
@@ -65,9 +65,15 @@ export interface ScanProgressPayload {
|
||||
}
|
||||
|
||||
export type ModalType = "info" | "success" | "error";
|
||||
export type ModalMode = "alert" | "confirm";
|
||||
|
||||
export interface AlertOptions {
|
||||
title: string;
|
||||
message: string;
|
||||
type?: ModalType;
|
||||
}
|
||||
|
||||
export interface ConfirmOptions extends AlertOptions {
|
||||
confirmText?: string;
|
||||
cancelText?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user