feat: add Confirmation modal to prompt users to confirm or cancel dangerous actions

This commit is contained in:
SauceyRed 2025-08-16 11:59:48 +02:00
parent 574ebe8850
commit 78b7732411
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
3 changed files with 64 additions and 0 deletions

View file

@ -140,3 +140,8 @@ export interface NavbarOptions {
isDirectMessages?: boolean
}
export interface IConfirmationModal {
show: boolean,
actionName: string,
callback: CallableFunction
}