Closed hisothreed closed 6 years ago
Tab bar app not showing tabs titles, it's only showing the icons after updating to RNN v2.0.2384
actual code:
in mainTabBar.js export default () => ({ children: [ { stack: HomeStack() }, { stack: ExploreStack() }, { stack: ReservationStack() }, { stack: MeStack() } ], options: { bottomTabs: { selectedTabColor: "black" } } }) inside HomeStack() export default () => ({ children: [ { component: { name: Screens.HomeScreen } } ], options: { bottomTab: { title: "Home", disableIconTint: true, disableSelectedIconTint: true, icon: require("../../assets/icons/tabBarIcons/homeTabBarIcon/icon.png"), selectedIcon: require("../../assets/icons/tabBarIcons/homeTabBarIconSelected/icon.png") } } })
Please update your docs to reflect to your latest changes in the api, it seems that you changed the "title" prop into "text" in => options: { bottomTab: {} }
Issue Description
Tab bar app not showing tabs titles, it's only showing the icons after updating to RNN v2.0.2384
Code Snippets / Screenshots
actual code:
Environment