Close and cancel ConfirmationDialog on Escape
This commit is contained in:
parent
335cb6dd13
commit
06c9ca9d24
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ export const ConfirmationDialog = React.memo(
|
||||||
modalName={modalName}
|
modalName={modalName}
|
||||||
noMouseClose={noMouseClose}
|
noMouseClose={noMouseClose}
|
||||||
onClose={close}
|
onClose={close}
|
||||||
|
onEscape={cancelAndClose}
|
||||||
onTopOfEverything={onTopOfEverything}
|
onTopOfEverything={onTopOfEverything}
|
||||||
overlayStyles={overlayStyles}
|
overlayStyles={overlayStyles}
|
||||||
theme={theme}
|
theme={theme}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue