mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
react-aria-modal: Changes to onExit, it should be optional (#37785)
This commit is contained in:
parent
9d722f4c95
commit
e9bbee4610
2
types/react-aria-modal/index.d.ts
vendored
2
types/react-aria-modal/index.d.ts
vendored
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user