Can I use this with an SVG as a React Component?
Opened this issue · 1 comments
joaoesp commented
I am using an SVG as a React Component with svgr:
import { ReactComponent as Map } from "../assets/world-map.svg";
Is this supposed to work? I am not seeing anything but it works without the transform elements:
<TransformWrapper>
<TransformComponent>
<Map />
</TransformComponent>
</TransformWrapper>
jCrip commented
yes, we are currently using this like that