alert before clean browsers

This commit is contained in:
Julian Freeman
2026-04-17 12:05:33 -04:00
parent ab1da1ff0e
commit 8764af1a56
7 changed files with 109 additions and 8 deletions

View File

@@ -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;
}