0.1.1 • Published 1 year ago

svg-to-jsx-string v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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);
0.1.1

1 year ago

0.1.0

1 year ago