diff --git a/versioned_docs/version-7.x/bottom-tab-navigator.md b/versioned_docs/version-7.x/bottom-tab-navigator.md index f46652fac8..93aacfd13d 100755 --- a/versioned_docs/version-7.x/bottom-tab-navigator.md +++ b/versioned_docs/version-7.x/bottom-tab-navigator.md @@ -158,10 +158,6 @@ It supports the following values: Boolean used to indicate whether inactive screens should be detached from the view hierarchy to save memory. This enables integration with [react-native-screens](https://github.com/software-mansion/react-native-screens). Defaults to `true`. -#### `sceneContainerStyle` - -Style object for the component wrapping the screen content. - #### `tabBar` Function that returns a React element to display as the tab bar. @@ -584,6 +580,10 @@ Boolean indicating whether any nested stack should be popped to the top of the s It only works when there is a stack navigator (e.g. [stack navigator](stack-navigator.md) or [native stack navigator](native-stack-navigator.md)) nested under the tab navigator. +#### `sceneStyle` + +Style object for the component wrapping the screen content. + ### Header related options You can find the list of header related options [here](elements.md#header). These [options](screen-options.md) can be specified under `screenOptions` prop of `Tab.navigator` or `options` prop of `Tab.Screen`. You don't have to be using `@react-navigation/elements` directly to use these options, they are just documented in that page. diff --git a/versioned_docs/version-7.x/drawer-navigator.md b/versioned_docs/version-7.x/drawer-navigator.md index 93312af224..8326dcf93c 100644 --- a/versioned_docs/version-7.x/drawer-navigator.md +++ b/versioned_docs/version-7.x/drawer-navigator.md @@ -530,7 +530,7 @@ Color overlay to be displayed on top of the content view when drawer gets open. -#### `sceneContainerStyle` +#### `sceneStyle` Style object for the component wrapping the screen content. diff --git a/versioned_docs/version-7.x/material-top-tab-navigator.md b/versioned_docs/version-7.x/material-top-tab-navigator.md index 517eee93e5..0021623f52 100755 --- a/versioned_docs/version-7.x/material-top-tab-navigator.md +++ b/versioned_docs/version-7.x/material-top-tab-navigator.md @@ -198,10 +198,6 @@ Object containing the initial height and width of the screens. Passing this will } ``` -#### `sceneContainerStyle` - -Style to apply to the view wrapping each screen. You can pass this to override some default styles such as overflow clipping. - #### `style` Style to apply to the tab view container. @@ -444,6 +440,10 @@ This view is usually only shown for a split second. Keep it lightweight. By default, this renders `null`. +#### `sceneStyle` + +Style to apply to the view wrapping each screen. You can pass this to override some default styles such as overflow clipping. + ### Events The navigator can [emit events](navigation-events.md) on certain actions. Supported events are: