svg-to-jsx-string
v0.1.1
Published
This can be used to convert an svg string to a jsx string.
Downloads
635
Readme
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);