Closed cargie closed 6 years ago
I am trying to replace the label with Icon but when I use
navigationOptions: ({ navigation }) => ({ tabBarIcon: ({ focused, tintColor }) => { const { routeName } = navigation.state; return <ionicons name="people"> }, }),
navigationOptions: ({ navigation }) => ({
tabBarIcon: ({ focused, tintColor }) => {
const { routeName } = navigation.state;
return <ionicons name="people">
},
}),
It will generate an error which looks for React.
@cargie Refer to issue https://github.com/GeekyAnts/vue-native-core/issues/62. You'll have to import React in your file which is already installed
I am trying to replace the label with Icon but when I use
navigationOptions: ({ navigation }) => ({
tabBarIcon: ({ focused, tintColor }) => {
const { routeName } = navigation.state;
return <ionicons name="people">
},
}),
It will generate an error which looks for React.