This component should only be rendered inside a _layout.tsx
file, where it will serve as the location that children will render for routes below the layout.
Tabs is simply a React Navigation Bottom Tabs view and accepts the same props as React Navigation.
For now, you do need to set the href
option on each Tabs.Screen to match the route file name. The plan is to automate this in the future.
--clean
.Edit this page on GitHub.