frontend
Preparing search index...
hooks/useConfirmDialog
useConfirmDialog
Function useConfirmDialog
useConfirmDialog
()
:
{
cancel
:
()
=>
void
;
confirm
:
()
=>
void
;
isOpen
:
boolean
;
requestConfirm
:
(
callback
:
()
=>
void
)
=>
void
;
}
Hook that manages confirm dialog open/close state with callback.
Returns
{
cancel
:
()
=>
void
;
confirm
:
()
=>
void
;
isOpen
:
boolean
;
requestConfirm
:
(
callback
:
()
=>
void
)
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
frontend
Loading...
Hook that manages confirm dialog open/close state with callback.