react-aria-modal: Changes to onExit, it should be optional (#37785)

This commit is contained in:
Gabrielle Dias 2019-08-26 11:33:27 -04:00 committed by Sheetal Nandi
parent 9d722f4c95
commit e9bbee4610

View File

@ -164,7 +164,7 @@ export interface AriaModalProps {
* That also makes it easier to create your own "close modal" buttons; because you
* have the function that closes the modal right there, written by you, at your disposal.
*/
onExit(): any;
onExit?(): any;
/**
* If true, the modal dialog's focus trap will be paused.