Open KakarN opened 7 years ago
I am using ex-navigation for navigating inside my app. Everything works fine, except I want to change the white color line that's above the tabBar.
export default class TabEntry extends React.Component { render() { return ( <NavigationProvider router={Router}> <TabNavigation id="main" navigatorUID="main" initialTab="home" tabBarColor="#22313F" tabBarHeight={48}> <TabNavigationItem id="notification"> <StackNavigation id="notification" navigatorUID="notification" initialRoute={Router.getRoute('notification')}/> </TabNavigationItem> <TabNavigationItem id="home"> <StackNavigation id="home" navigatorUID="home" initialRoute={Router.getRoute('home')}/> </TabNavigationItem> </TabNavigation> </NavigationProvider> ) } }
I have tried changing the style of the tabBar by applying borderWidth and BorderColor like the below but it didn't help me:
<TabNavigation id="main" navigatorUID="main" initialTab="home" tabBarColor="#22313F" tabBarHeight={48} tabBarStyle={{borderWidth: 1, borderColor: 'red'}}>
What am I missing somethig? Could you please help me.
@KakarN They already have props tabBarStyle
tabBarStyle
<TabNavigation id="tabbar" tabBarStyle={{ borderTopWidth: 5, borderTopColor: 'green' }} />
I am using ex-navigation for navigating inside my app. Everything works fine, except I want to change the white color line that's above the tabBar.
I have tried changing the style of the tabBar by applying borderWidth and BorderColor like the below but it didn't help me:
What am I missing somethig? Could you please help me.