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)
I used the following solution:
.svg
image to JSX with https://svg2jsx.herokuapp.com/react-native-svg
component with https://react-svgr.com/playground/?native=true (make sure the “React Native” checkbox is checked)