mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
[react-native] Add onDismiss prop to Modal
This commit is contained in:
Vendored
+5
@@ -4364,6 +4364,11 @@ export interface ModalProperties {
|
||||
* @platform ios
|
||||
*/
|
||||
onOrientationChange?: () => void;
|
||||
/**
|
||||
* The `onDismiss` prop allows passing a function that will be called once the modal has been dismissed.
|
||||
* @platform ios
|
||||
*/
|
||||
onDismiss?: () => void;
|
||||
}
|
||||
|
||||
export interface ModalStatic extends React.ComponentClass<ModalProperties> {}
|
||||
|
||||
Reference in New Issue
Block a user