This code is fine but i can`t understand why this is not working on my system (laptop) . Is there any packege missing in my node modules or something else
sorry i don`t understand , why you need “step-by-step instructions” ?
first i have installed NodeJs
then i run npm install -g expo-cli
then i have created project - expo init ProjectName
then i have choose blank template
when my project is created then i started coding on my own logic .
Everything is fine in my code
I have imported everything
import React from 'react';
import { StyleSheet, Text, View,TouchableOpacity,FlatList,
AsyncStorage } from 'react-native';
import {Card} from 'native-base';
import {Entypo} from '@expo/vector-icons';
when i am using vector icons (fontawesome , entypo …) like this
<Entypo
name="plus"
size={30}
color="#fff" />
**Icon is appearing but when i am trying to change the color of Icon , ** like
color="red" or color="green"or color="#B83227" or with styling like style={{color:"#B83227"}} or external styling . every time ICON color remains same BLACK
Just wanted to make sure we were both following the exact same steps, that’s all. Since I can’t get the same behavior, I thought it possible that we were doing something different from each other somewhere.
That is definitely odd. After following your steps, and running expo start I see changes both on device and simulator.
After you save, does your CLI show that your js bundle rebuilt succesfully?