jhamlet / svg-react-loader

Webpack SVG to React Component Loader
MIT License
559 stars 82 forks source link

Keep attributes from extracting #112

Open YuraKostin opened 5 years ago

YuraKostin commented 5 years ago

Hello.

Thank you for the helpful tool.

I faced the problem: id attributes are always extracting from output SVG. Is there a way to keep some attributes from extracting?

By the way, i want to dynamically change color of SVG parts by id. Are there a best practices to solve my issue in React? May be there is a most clever solution exists..