diff --git a/native/chat/chat.react.js b/native/chat/chat.react.js --- a/native/chat/chat.react.js +++ b/native/chat/chat.react.js @@ -144,6 +144,7 @@ initialRouteName, children, screenOptions, + defaultScreenOptions, screenListeners, id, ...rest @@ -153,6 +154,7 @@ initialRouteName, children, screenOptions, + defaultScreenOptions, screenListeners, }); 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 @@ -1098,6 +1098,13 @@ ...$Exact, ...ScreenOptionsProps, ...ScreenListenersProps, + +defaultScreenOptions?: + | ScreenOptions + | ({| + +route: RouteParam, + +navigation: NavHelpers, + +options: ScreenOptions, + |}) => ScreenOptions, ... }; declare export type NavigatorPropsBase< 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 @@ -1098,6 +1098,13 @@ ...$Exact, ...ScreenOptionsProps, ...ScreenListenersProps, + +defaultScreenOptions?: + | ScreenOptions + | ({| + +route: RouteParam, + +navigation: NavHelpers, + +options: ScreenOptions, + |}) => ScreenOptions, ... }; declare export type NavigatorPropsBase< 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 @@ -1098,6 +1098,13 @@ ...$Exact, ...ScreenOptionsProps, ...ScreenListenersProps, + +defaultScreenOptions?: + | ScreenOptions + | ({| + +route: RouteParam, + +navigation: NavHelpers, + +options: ScreenOptions, + |}) => ScreenOptions, ... }; declare export type NavigatorPropsBase< 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 @@ -1098,6 +1098,13 @@ ...$Exact, ...ScreenOptionsProps, ...ScreenListenersProps, + +defaultScreenOptions?: + | ScreenOptions + | ({| + +route: RouteParam, + +navigation: NavHelpers, + +options: ScreenOptions, + |}) => ScreenOptions, ... }; declare export type NavigatorPropsBase< 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 @@ -1098,6 +1098,13 @@ ...$Exact, ...ScreenOptionsProps, ...ScreenListenersProps, + +defaultScreenOptions?: + | ScreenOptions + | ({| + +route: RouteParam, + +navigation: NavHelpers, + +options: ScreenOptions, + |}) => ScreenOptions, ... }; declare export type NavigatorPropsBase< diff --git a/native/navigation/root-navigator.react.js b/native/navigation/root-navigator.react.js --- a/native/navigation/root-navigator.react.js +++ b/native/navigation/root-navigator.react.js @@ -58,6 +58,7 @@ initialRouteName, children, screenOptions, + defaultScreenOptions, screenListeners, id, ...rest @@ -67,6 +68,7 @@ initialRouteName, children, screenOptions, + defaultScreenOptions, screenListeners, });