vault-development / react-native-svg-uri

Render SVG images in React Native from an URL or static file
850 stars 334 forks source link

How to store the svg result to a variable? #154

Open EvanGeminika opened 5 years ago

EvanGeminika commented 5 years ago

Is it possible to store the svg result to a variable ? Because I want to do some checking first whether the svg result is null or not. If it's null, than I want to hide the screen and show an alert.

fniwes commented 5 years ago

You can't. Maybe you should try to use another library. I succeeded using https://github.com/target/react-native-svg-parser