timomeh / react-native-material-bottom-navigation

💅🔧👌 a beautiful, customizable and easy-to-use material design bottom navigation for react-native
MIT License
710 stars 127 forks source link

react-navigation: tintColor is undefined when using BottomNavigation #11

Closed timomeh closed 7 years ago

timomeh commented 7 years ago

When using the icon inside navigationOptions, tintColor is undefined. Need to check in TabView.TabBarBottom how and why.

timomeh commented 7 years ago

Instead of using react-navigation's icon: ({ tintColor }) => (<Icon color={tintColor}) />), you should use the activeIcon-option of react-native-material-bottom-navigation, because it'll look better. Trust me.

timomeh commented 7 years ago

But nonetheless, it should work in the next version.

Myzel394 commented 1 year ago

@timomeh I'm facing the same issue :(