ui icon indicating copy to clipboard operation
ui copied to clipboard

Icon must be an SVG file imported as a React component.

Open Jakuubzmeko opened this issue 4 years ago • 1 comments

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 ...

Jakuubzmeko avatar Feb 09 '21 11:02 Jakuubzmeko

Try this @Jakuubzmeko > https://github.com/react-native-svg/react-native-svg#use-with-svg-files

Worked for me

raymondmuller avatar Feb 15 '21 13:02 raymondmuller