Skip to content

Commit 28ce672

Browse files
authored
docs: instruct users to use one config plugin (#136)
1 parent 0307fe7 commit 28ce672

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/docs/docs/guides/edge-to-edge-support.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ React Native Bottom Tabs supports edge-to-edge navigation on Android.
44

55
In order to enable edge-to-edge follow installation instructions for [react-native-edge-to-edge](https://github.com/zoontek/react-native-edge-to-edge).
66

7+
:::note
8+
9+
When using `react-native-edge-to-edge` config plugin, you don't need `react-native-bottom-tabs` config plugin. Make sure to set `parentTheme` to be either `Material2` or `Material3`.
10+
11+
```json
12+
{
13+
"expo": {
14+
"plugins": [
15+
[
16+
"react-native-edge-to-edge",
17+
{ "android": { "parentTheme": "Material3" } }
18+
]
19+
]
20+
}
21+
}
22+
```
23+
24+
:::
25+
26+
727
Once this package is installed, this library will automatically use it to enable edge-to-edge navigation on Android.
828

929
| Before | After |

0 commit comments

Comments
 (0)