Icons not showing in React Native JS. I check all of the codes but I can't find any problem. When I run it in Android, the Icon not showing
import {StyleSheet, Text, View, TouchableOpacity} from 'react-native';
import React, {useEffect, useState} from 'react';
import {Icon} from 'react-native-elements';
const ContactListScreen = (props) => {
return (
<View style={styles.buttonView}>
<TouchableOpacity
style={styles.addButton}>
<Icon name="plus" type="antdesign" size={24} color="black" />
</TouchableOpacity>
</View>
);
};
export default ContactListScreen;
for icons react-native-elements depend on a library react-native-vector-icons
you have to follow the installation guide for react native vector icons mentioned in the documentation