“Ikon Shwoing Kotak bereaksi ikon vektor asli” Kode Jawaban

Bereaksi ikon vektor asli yang tidak ditampilkan

add this in '/app/build.gradle'

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

bereaksi ikon vektor asli

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

Ikon Shwoing Kotak bereaksi ikon vektor asli

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

Jawaban yang mirip dengan “Ikon Shwoing Kotak bereaksi ikon vektor asli”

Pertanyaan yang mirip dengan “Ikon Shwoing Kotak bereaksi ikon vektor asli”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya