Hello Oblador,
I would like to know how to use both font awesome and ionicons
Import like this.
import Ionicons from "react-native-vector-icons/Ionicons";
import FontAwesome from "react-native-vector-icons/FontAwesome";
then user it like this in your component
<Ionicons
name='ios-menu'
size={30}
style={{ marginLeft:5, padding:5, color: "grey" }}
onPress={()=> navigation.navigate('DrawerToggle')}
/>
FontwAwesome
<FontAwesome
name='user'
size={20}
style={{ marginLeft:5, padding:5, color: "grey" }}
onPress={()=> {}}
/>
Thank You timotew
its really working
Most helpful comment
Import like this.
import Ionicons from "react-native-vector-icons/Ionicons";import FontAwesome from "react-native-vector-icons/FontAwesome";then user it like this in your component
<Ionicons name='ios-menu' size={30} style={{ marginLeft:5, padding:5, color: "grey" }} onPress={()=> navigation.navigate('DrawerToggle')} />FontwAwesome
<FontAwesome name='user' size={20} style={{ marginLeft:5, padding:5, color: "grey" }} onPress={()=> {}} />