feat: add Confirmation modal to prompt users to confirm or cancel dangerous actions
This commit is contained in:
parent
574ebe8850
commit
78b7732411
3 changed files with 64 additions and 0 deletions
|
@ -140,3 +140,8 @@ export interface NavbarOptions {
|
|||
isDirectMessages?: boolean
|
||||
}
|
||||
|
||||
export interface IConfirmationModal {
|
||||
show: boolean,
|
||||
actionName: string,
|
||||
callback: CallableFunction
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue