Skip to content

Commit

Permalink
[flow] Update StackViewConfig to match recent changes (#5067)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashoat authored and ericvicenti committed Oct 9, 2018
1 parent 4bd6f17 commit 70a2c3b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion flow/react-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {|
Expand Down

0 comments on commit 70a2c3b

Please sign in to comment.