Skip to content

Commit

Permalink
flow cover for getActiveChildNavigationOptions (#6018)
Browse files Browse the repository at this point in the history
* declare export function getActiveChildNavigationOptions

* some changes

* some changes

* any

* make some changes

* NavigationScreenProp

* options
  • Loading branch information
Preeternal authored and Ashoat committed Jul 10, 2019
1 parent 8361745 commit 5dbfc35
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flow/react-navigation.js
Expand Up @@ -1295,4 +1295,12 @@ declare module 'react-navigation' {
getScreenProps: () => {},
getCurrentNavigation: () => ?NavigationScreenProp<State>
): NavigationScreenProp<State>;

declare export function getActiveChildNavigationOptions<
State: NavigationState,
Options: {}
>(
navigation: NavigationScreenProp<State>,
screenProps?: {}
): Options;
}

0 comments on commit 5dbfc35

Please sign in to comment.