Script generate svg react component

npm version npm npm All Contributors

Add script package.json

 "scripts": {
    ...
    "g": "npx agile-svg2jsx --i $PATH_SVGS_FOLDER --o $PATH_REACT_FOLDER"
  },

Demo

Demo

GitHub

View Github