react native vector icons icon types code example
Example 1: react native vector icon
import Icon from 'react-native-vector-icons/FontAwesome';
const myIcon = <Icon name="rocket" size={30} color="#900" />;
Example 2: icon shwoing a box react native vector icons
In 'android/app/build.gradle' (not in android/build.gradle),
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Then,
react-native link react-native-vector-icons
react-native run-android
react-native start