SVG to JSX String

This library provides a function which takes an svg string and then converts into a jsx string.

It can be used to on online svg to jsx editor or in a build process to convert svg files into jsx files.

Installation

npm install svg-to-jsx-string

Usage

import { svgToJsxString } from "svg-to-jsx-string";

const jsxString = svgToJsxString(svgString);