From c49d3a12893573195b53ff4cd4a69cc73fee12fd Mon Sep 17 00:00:00 2001 From: Ashoat Tevosyan Date: Tue, 9 Oct 2018 14:56:28 -0400 Subject: [PATCH] [flow] Update StackViewConfig to match recent changes (#5067) --- packages/react-navigation/flow/react-navigation.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/react-navigation/flow/react-navigation.js b/packages/react-navigation/flow/react-navigation.js index 51dcf5fe..096d04a8 100644 --- a/packages/react-navigation/flow/react-navigation.js +++ b/packages/react-navigation/flow/react-navigation.js @@ -407,9 +407,15 @@ declare module 'react-navigation' { headerLayoutPreset?: 'left' | 'center', headerBackTitleVisible?: boolean, cardStyle?: ViewStyleProp, - transitionConfig?: () => TransitionConfig, + transitionConfig?: ( + transitionProps: NavigationTransitionProps, + prevTransitionProps: ?NavigationTransitionProps, + isModal: boolean + ) => TransitionConfig, onTransitionStart?: () => void, onTransitionEnd?: () => void, + transparentCard?: boolean, + disableKeyboardHandling?: boolean, |}; declare export type StackNavigatorConfig = {|