import icon props from react native vector icons 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: vector icons react native
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"