React-pdf svg image

Trying to put a SVG Data URI won’t work. import the necessary components. convert the svg file that you want to use to jsx using react-pdf's components; import { Svg, Path } from '@react-pdf/renderer'. So, the only option left was to somehow find a way to convert the SV