SyntaxError: unknown: Namespace tags are not supported by default

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.

Leave a Comment