Replies: 3 comments
-
You can iterate {Object.entries(props.descriptors).map((descriptor) => (
<View key={descriptor[1].route.key}>
<Text>{descriptor[1].options.title}</Text>
</View>
))} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Check if the rendered button from state.routes.filter(
(route) =>
descriptors[route.key].options.tabBarButton?.({
children: undefined,
}) !== null
),
}} |
Beta Was this translation helpful? Give feedback.
0 replies
-
for some reasons, setting in my case what works is to filter and remove routes with the See example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this layout:
My TabBar looks something like this:
which works, but it shows all the routes, including the one I marked with
href: null
, so I wonder if I'm doing something wrong?Beta Was this translation helpful? Give feedback.
All reactions