svg/svgo

Option to change props to React Pattern

supertgo opened this issue · 2 comments

Is it possible to add a switch that coverts some dom properties to react pattern? Ex: clip-path will be converted to clipPath.

That wouldn't be outputting as SVG. There are projects on GitHub that do this already though like https://github.com/gregberge/svgr.

As KTibow says, this is out of scope for SVGO in favor of SVGR which has both a CLI and Webpack plugin. It should offer you a better user experience for that use case too.