-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Text strings must be rendered within a <Text> component. #201
Comments
Same here! |
same |
Same |
Same.. |
Same |
same here |
same |
+1 |
1 similar comment
+1 |
Sometimes you get this if your svg has inlined raster graphics. You can test by opening your svg in illustrator or something like that, finding the raster graphics and deleting them, then testing the svg. You could also look at different export options for your svg in illustrator, if you "embed" images you might have more success. |
I was also having the same problem, but I found the react-native-svg package, worked for me! Example:
|
Thanks. worked for me |
I don't know why, but react-native-svg is not working on my end. I'm encountering this issue for svgs generated through Illustratror (which is what our designer uses to create them). Any ideas ? Or anyone knows how to set up illustrator so that it doesn't create these comments ?
|
check your svg file. ex) |
No description provided.
The text was updated successfully, but these errors were encountered: