Merge pull request #32989 from Gapur/change-modalbox-props

pass useNativeDriver property
This commit is contained in:
Mine Starks
2019-02-12 11:33:32 -08:00
committed by GitHub
+8
View File
@@ -147,6 +147,14 @@ export interface ModalProps {
*/
style?: StyleProp<ViewStyle>;
/**
* Enables the hardware acceleration to animate the modal. Please note that enabling this can cause some flashes in a weird way when animating
*
* Default is true
*
*/
useNativeDriver?: boolean;
/**
* Event fired when the modal is closed and the animation is complete
*