Month: September 2020

Please help me to implement useState to change the tab icon color when clicked

const HomeScreen =({navigation})=>{ return( <View style={styles.mainContainer}> <View style={styles.iconContainer}> <TouchableOpacity onPress={()=> {}}> <View style={styles.iconText}> <Icon name="home" size={30} color=’#FF6733’/> <Text>Home</Text> </View> </TouchableOpacity>

Continue reading