gluestack

gluestack Logogluestack

Avatar render SVG

joaquinboto. posted this in #support
Open in Discord
Avatar
joaquinboto.OP
Hello, I'm having an issue using the Avatar component. I want to render an image from a URL, and the image URL is in .svg format. However, it's not working. Does it not support .svg?

3 Replies

Avatar
viraj1098
Hey @joaquinboto. , Avatar Image is based on react native Image.
Unfortunallty svg is not support by React native Image.
https://reactnative.dev/docs/image#source
Avatar
joaquinboto.OP
thanks for the reply