SyntaxError: unknown: Namespace tags are not supported by default
The most simple solution is to just convert the SVG file to JSX.Then create a separate component or just copy paste the tag. This website does the job perfectly.
https://svg2jsx.com/
I recommend using svgo to compress your SVG files. Simple CLI tool that runs with NodeJS and doesn't require you to upload your copyrighted SVGs anywhere.
In the SVG file, try changing:
sketch:type TO sketchType
xmlns:xlink TO xmlnsXlink
xlink:href TO xlinkHref
etc...
The idea is to create camelCase property, remember that you are working with JSX, you are not creating a string as XML does.
Since we are in the JSX playground your SVG tags should be written as camelCase
So you can easily optimize your SVG using the link below to avoid this error :)
svgminify