feat: "save changes" button to discard changes dialog

This commit is contained in:
Jorge
2025-09-13 08:07:05 +02:00
committed by GitHub
parent 571ce6cb0d
commit 84e8632b98
5 changed files with 26 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ interface PopupProps {
prompt: string;
confirm?: any;
action?: PopupAction;
saveAction?: () => void;
props?: any;
close?: (() => Promise<string>) | null;
}