react-native-modal
Advanced tools
Comparing version 12.0.0 to 12.0.1
@@ -36,10 +36,10 @@ import * as React from 'react'; | ||
isVisible: boolean; | ||
onModalShow: () => null; | ||
onModalWillShow: () => null; | ||
onModalHide: () => null; | ||
onModalWillHide: () => null; | ||
onBackdropPress: () => null; | ||
onBackButtonPress: () => null; | ||
panResponderThreshold: number; | ||
swipeThreshold: number; | ||
onModalShow: () => void; | ||
onModalWillShow: () => void; | ||
onModalHide: () => void; | ||
onModalWillHide: () => void; | ||
onBackdropPress: () => void; | ||
onBackButtonPress: () => void; | ||
scrollTo: OrNull<(e: any) => void>; | ||
@@ -64,8 +64,2 @@ scrollOffset: number; | ||
presentationStyle?: PresentationStyle; | ||
onModalShow: () => void; | ||
onModalWillShow: () => void; | ||
onModalHide: () => void; | ||
onModalWillHide: () => void; | ||
onBackdropPress: () => void; | ||
onBackButtonPress: () => void; | ||
useNativeDriverForBackdrop?: boolean; | ||
@@ -134,10 +128,10 @@ } & typeof defaultProps; | ||
isVisible: boolean; | ||
onModalShow: () => null; | ||
onModalWillShow: () => null; | ||
onModalHide: () => null; | ||
onModalWillHide: () => null; | ||
onBackdropPress: () => null; | ||
onBackButtonPress: () => null; | ||
panResponderThreshold: number; | ||
swipeThreshold: number; | ||
onModalShow: () => void; | ||
onModalWillShow: () => void; | ||
onModalHide: () => void; | ||
onModalWillHide: () => void; | ||
onBackdropPress: () => void; | ||
onBackButtonPress: () => void; | ||
scrollTo: OrNull<(e: any) => void>; | ||
@@ -144,0 +138,0 @@ scrollOffset: number; |
@@ -28,10 +28,10 @@ import * as React from 'react'; | ||
isVisible: false, | ||
onModalShow: () => null, | ||
onModalWillShow: () => null, | ||
onModalHide: () => null, | ||
onModalWillHide: () => null, | ||
onBackdropPress: () => null, | ||
onBackButtonPress: () => null, | ||
panResponderThreshold: 4, | ||
swipeThreshold: 100, | ||
onModalShow: (() => null), | ||
onModalWillShow: (() => null), | ||
onModalHide: (() => null), | ||
onModalWillHide: (() => null), | ||
onBackdropPress: (() => null), | ||
onBackButtonPress: (() => null), | ||
scrollTo: null, | ||
@@ -38,0 +38,0 @@ scrollOffset: 0, |
{ | ||
"name": "react-native-modal", | ||
"version": "12.0.0", | ||
"version": "12.0.1", | ||
"description": "An enhanced React Native modal", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
70479
895