flow cover for getActiveChildNavigationOptions (#6018)

* declare export function getActiveChildNavigationOptions

* some changes

* some changes

* any

* make some changes

* NavigationScreenProp

* options
This commit is contained in:
Preeternal
2019-07-10 22:05:21 +03:00
parent 14446d2964
commit ea29031e95

View File

@@ -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;
}