I'm using react navigation for the TopBarNavigator, and implement createMaterialTopTabNavigator,
In the header of the navigation, I just need the color of title change, and background is transparent.
How can I make the background transparent or have the same color even if the tab is selected or not. And hide the bottom border also.
tabBarOptions: {
activeTintColor: TEXT_COLOR_BLUE,
inactiveTintColor: TEXT_COLOR_GREY,
tabStyle: {
backgroundColor: '#ffffff',
},
indicatorStyle: {
color: '#ffffff'
},
In the code above, I can only change background of the active tab, but not the other.
Any help is appreciated, Thanks.