Fix by using screenOptions as described below:
<MainTab.Navigator
initialRouteName="TabOne"
screenOptions={{
tabBarActiveTintColor: Colors[colorScheme].background,
tabBarStyle:{
backgroundColor: Colors[colorScheme].tint,
}
}}>
No comments:
Post a Comment