How do I display an SVG image that I require() in React Native.
You can hack around this using a webview. I also had to put my SVGs as strings in .js files (which is not good at all). But it works pretty reliably. There is a split second where they show up as white before the SVG loads, but it's good enough for me.
Roughly something like:
import React, { View, WebView } from 'react-native'
import s from 'string'
const firstHtml = ''
const lastHtml = ''
export default (props) =>