“Icon shwoing a Box React native Vektor -Symbole” Code-Antworten

Reagieren Sie native Vektor -Symbole, die nicht angezeigt werden

add this in '/app/build.gradle'

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Jurie

Reagieren Sie native Vektor -Symbol

import Icon from 'react-native-vector-icons/FontAwesome';
const myIcon = <Icon name="rocket" size={30} color="#900" />;
Wrong Wallaby

Icon shwoing a Box React native Vektor -Symbole

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
Bad Buffalo

Ähnliche Antworten wie “Icon shwoing a Box React native Vektor -Symbole”

Fragen ähnlich wie “Icon shwoing a Box React native Vektor -Symbole”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen