Icon must be an SVG file imported as a React component.
Jakuubzmeko opened this issue · 1 comments
Jakuubzmeko commented
Hi, I installed shoutem ui version 4.1.0 but get this message when using Icon component:
'Icon must be an SVG file imported as a React component.'
Icons are in node modules, but it seems like the component Icon doesn't see them. I already reseted caches ...
raymondmuller commented
Try this @Jakuubzmeko > https://github.com/react-native-svg/react-native-svg#use-with-svg-files
Worked for me