Answers for "icon shwoing a box react native vector icons"

2

react native vector icons not showing

add this in '/app/build.gradle'

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Posted by: Guest on February-19-2020
2

react native vector icon

import Icon from 'react-native-vector-icons/FontAwesome';
const myIcon = <Icon name="rocket" size={30} color="#900" />;
Posted by: Guest on April-14-2021
4

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
Posted by: Guest on June-06-2020

Code answers related to "icon shwoing a box react native vector icons"

Code answers related to "Javascript"

Browse Popular Code Answers by Language