diff --git a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js @@ -946,14 +946,14 @@ +options?: | ScreenOptions | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenOptions, +listeners?: | ScreenListeners | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenListeners, +initialParams?: $Partial<$ElementType>, |}; @@ -976,8 +976,22 @@ EventMap, >, +component: React$ComponentType<{| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, + |}>, + |} + | {| + ...BaseScreenProps< + ParamList, + NavProp, + RouteName, + State, + ScreenOptions, + EventMap, + >, + +getComponent: () => React$ComponentType<{| + +route: RouteProp, + +navigation: NavProp, |}>, |} | {| @@ -990,8 +1004,8 @@ EventMap, >, +children: ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => React$Node, |}; diff --git a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js @@ -946,14 +946,14 @@ +options?: | ScreenOptions | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenOptions, +listeners?: | ScreenListeners | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenListeners, +initialParams?: $Partial<$ElementType>, |}; @@ -976,8 +976,22 @@ EventMap, >, +component: React$ComponentType<{| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, + |}>, + |} + | {| + ...BaseScreenProps< + ParamList, + NavProp, + RouteName, + State, + ScreenOptions, + EventMap, + >, + +getComponent: () => React$ComponentType<{| + +route: RouteProp, + +navigation: NavProp, |}>, |} | {| @@ -990,8 +1004,8 @@ EventMap, >, +children: ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => React$Node, |}; diff --git a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js @@ -946,14 +946,14 @@ +options?: | ScreenOptions | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenOptions, +listeners?: | ScreenListeners | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenListeners, +initialParams?: $Partial<$ElementType>, |}; @@ -976,8 +976,22 @@ EventMap, >, +component: React$ComponentType<{| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, + |}>, + |} + | {| + ...BaseScreenProps< + ParamList, + NavProp, + RouteName, + State, + ScreenOptions, + EventMap, + >, + +getComponent: () => React$ComponentType<{| + +route: RouteProp, + +navigation: NavProp, |}>, |} | {| @@ -990,8 +1004,8 @@ EventMap, >, +children: ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => React$Node, |}; diff --git a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js @@ -946,14 +946,14 @@ +options?: | ScreenOptions | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenOptions, +listeners?: | ScreenListeners | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenListeners, +initialParams?: $Partial<$ElementType>, |}; @@ -976,8 +976,22 @@ EventMap, >, +component: React$ComponentType<{| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, + |}>, + |} + | {| + ...BaseScreenProps< + ParamList, + NavProp, + RouteName, + State, + ScreenOptions, + EventMap, + >, + +getComponent: () => React$ComponentType<{| + +route: RouteProp, + +navigation: NavProp, |}>, |} | {| @@ -990,8 +1004,8 @@ EventMap, >, +children: ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => React$Node, |}; diff --git a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js @@ -946,14 +946,14 @@ +options?: | ScreenOptions | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenOptions, +listeners?: | ScreenListeners | ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => ScreenListeners, +initialParams?: $Partial<$ElementType>, |}; @@ -976,8 +976,22 @@ EventMap, >, +component: React$ComponentType<{| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, + |}>, + |} + | {| + ...BaseScreenProps< + ParamList, + NavProp, + RouteName, + State, + ScreenOptions, + EventMap, + >, + +getComponent: () => React$ComponentType<{| + +route: RouteProp, + +navigation: NavProp, |}>, |} | {| @@ -990,8 +1004,8 @@ EventMap, >, +children: ({| - route: RouteProp, - navigation: NavProp, + +route: RouteProp, + +navigation: NavProp, |}) => React$Node, |};