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?
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
playreturns this:<UNDEFINED color="#000" family="MaterialIcons" name="delete-forever" size={24} />Why is it showing UNDEFINED?