Make onEscape
perform the back button behaviour
This commit is contained in:
parent
4ff36f46c4
commit
8caaae8b4f
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ export function Modal({
|
|||
moduleClassName={moduleClassName}
|
||||
noMouseClose={noMouseClose}
|
||||
onClose={close}
|
||||
onEscape={onBackButtonClick}
|
||||
overlayStyles={overlayStyles}
|
||||
theme={theme}
|
||||
useFocusTrap={useFocusTrap}
|
||||
|
|
Loading…
Reference in a new issue