react-native-popover-menu icon indicating copy to clipboard operation
react-native-popover-menu copied to clipboard

Icon returning undefined

Open dayaki opened this issue 5 years ago • 1 comments

somehow, this code const play = <Icon family="EvilIcons" name="play" color="#000" size={24} />; is returning this warning: React.createElement: type is invalid.

console.log play returns this: <UNDEFINED color="#000" family="MaterialIcons" name="delete-forever" size={24} />

Why is it showing UNDEFINED?

dayaki avatar Feb 13 '20 01:02 dayaki

@dayaki: Could you share how you have imported Icon class. Did you installed and configured react-native-vector-icons library?

Thanks </ Pranav >

prscX avatar Feb 21 '20 08:02 prscX