Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

svg in react native

I used the following solution:

Convert .svg image to JSX with https://svg2jsx.herokuapp.com/
Convert the JSX to react-native-svg component with 
https://react-svgr.com/playground/?native=true 
(make sure the "React Native" checkbox is checked)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #svg #react #native
ADD COMMENT
Topic
Name
5+2 =