react native vector icons imports 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: how to use react-native-vector-icons
<Icon name="rocket" size={30} color="#900" />