Merge pull request #22961 from foxmicha/patch-1

Update React-Native Modal prop typings
This commit is contained in:
Eloy Durán
2018-01-17 06:23:05 -05:00
committed by GitHub
+1 -1
View File
@@ -4363,7 +4363,7 @@ export interface ModalProperties {
* The orientation provided is only 'portrait' or 'landscape'. This callback is also called on initial render, regardless of the current orientation.
* @platform ios
*/
onOrientationChange?: () => void;
onOrientationChange?: (event?: NativeSyntheticEvent<any>) => void;
/**
* The `onDismiss` prop allows passing a function that will be called once the modal has been dismissed.
* @platform ios