We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to implement a TabNavigator using React-Navigation.
In order to add a tab, following the documentation, i'm doing this :
class MyHomeScreen extends React.Component { static navigationOptions = { tabBarLabel: 'Home', tabBarIcon: ({ tintColor }) => ( <Image source={require('./chats-icon.png')} style={[styles.icon, {tintColor: tintColor}]} /> ), }; render() { return ( ... ); } }
I did try to replace the Image Component with FontAwesome such as :
Image
FontAwesome
import { FontAwesome } from '@expo/vector-icons'; static navigationOptions = { tabBarIcon: ({ tintColor }) => ( <FontAwesome name="user" size={32} color="tintColor" /> ), };
But i only have my label.
Stackoverflow link : https://stackoverflow.com/questions/48429649/tabnavigator-with-expo-vector-icons
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to implement a TabNavigator using React-Navigation.
In order to add a tab, following the documentation, i'm doing this :
I did try to replace the
Image
Component withFontAwesome
such as :But i only have my label.
Stackoverflow link : https://stackoverflow.com/questions/48429649/tabnavigator-with-expo-vector-icons
The text was updated successfully, but these errors were encountered: