This works:
const texture = await Assets.load('/pin.svg')
But I want to include the SVG in the JS file as a string, like:
const svgString = '...'
const texture = await Assets.load(svgString)
But Assets.load()
doesn’t support SVG as a string, which I find incredibly weird. Is there a workaround?