You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A snack link is preferred since it's the easiest way to both create and share a repro. If it's not possible to create a repro using a snack, link to a GitHub repo under your username is a good alternative. Don't link to a branch or specific file etc. as it won't be detected.
Try to keep the repro as small as possible by narrowing down the minimal amount of code needed to reproduce the issue. Don't link to your entire project or a project containing code unrelated to the issue. See "How to create a Minimal, Reproducible Example" for more information.
You can edit your original issue to include a link to the repro, or leave it as a comment. The issue will be closed automatically after a while if you don't provide a repro.
Current behavior
tabBarIcon are not showing in the tab bar.
Expected behavior
The tabBarIcon should display an icon in the top tab bar.
Example code:
import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs';
const Tab = createMaterialTopTabNavigator();
export default function Example({ navigation, route }) {
return (
<Tab.Navigator
screenOptions={{ tabBarShowIcon: true }} >
<Tab.Screen
options={{ tabBarIcon: () => }}
name="Screen1" component={Screen1} />
</Tab.Navigator>
);
}
Reproduction
https://snack.expo.dev/@schoy2/top-navigation-icons
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: