Today there are a few built-in navigators: Slot, Stack, etc. But you may want to create your own.
A good example of this is the new react-native-bottom-tabs
library, that exports a React Navigation compatible navigator.
To make any React Navigation navigator work inside a One layout, use withLayoutContext
:
Now you can use NativeTabs
in any _layout.tsx
file.
Edit this page on GitHub.