Open aleclarson opened 9 years ago
<Svg source={{uri: 'image!my-icon'}} />
should work, but I haven't tried yet.
I've actually tried after adding a height and a width, and all I can get is an empty square with red borders. A little help would be nice :-)
This is how
.png
files are used with React Native.Is there a similar way for
.svg
files?Is it possible to use
.svg
withImages.xcassets
like it's recommended for.png
files?