Skip to content

Commit 5aa07dc

Browse files
committed
Fix incorrect docs for sceneStyle
1 parent 5045ce8 commit 5aa07dc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

versioned_docs/version-7.x/bottom-tab-navigator.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ It supports the following values:
158158

159159
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`.
160160

161-
#### `sceneContainerStyle`
162-
163-
Style object for the component wrapping the screen content.
164-
165161
#### `tabBar`
166162

167163
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
584580
585581
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.
586582
583+
#### `sceneStyle`
584+
585+
Style object for the component wrapping the screen content.
586+
587587
### Header related options
588588
589589
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.

versioned_docs/version-7.x/drawer-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ Color overlay to be displayed on top of the content view when drawer gets open.
530530
<source src="/assets/7.x/drawer/overlayColor.mp4" />
531531
</video>
532532

533-
#### `sceneContainerStyle`
533+
#### `sceneStyle`
534534

535535
Style object for the component wrapping the screen content.
536536

versioned_docs/version-7.x/material-top-tab-navigator.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,6 @@ Object containing the initial height and width of the screens. Passing this will
198198
}
199199
```
200200

201-
#### `sceneContainerStyle`
202-
203-
Style to apply to the view wrapping each screen. You can pass this to override some default styles such as overflow clipping.
204-
205201
#### `style`
206202

207203
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.
444440

445441
By default, this renders `null`.
446442

443+
#### `sceneStyle`
444+
445+
Style to apply to the view wrapping each screen. You can pass this to override some default styles such as overflow clipping.
446+
447447
### Events
448448

449449
The navigator can [emit events](navigation-events.md) on certain actions. Supported events are:

0 commit comments

Comments
 (0)