From e77343661ca2c83c6896cfda9f0d4f5dfa5dcb24 Mon Sep 17 00:00:00 2001 From: Gapur Kassym Date: Tue, 12 Feb 2019 16:04:05 +0600 Subject: [PATCH] pass useNativeDriver property --- types/react-native-modalbox/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/react-native-modalbox/index.d.ts b/types/react-native-modalbox/index.d.ts index 778f953f78..4aa0be6f4a 100644 --- a/types/react-native-modalbox/index.d.ts +++ b/types/react-native-modalbox/index.d.ts @@ -147,6 +147,14 @@ export interface ModalProps { */ style?: StyleProp; + /** + * 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 *