jhamlet / svg-react-loader

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

data-* attributes should not be converted to camelCase #48

Closed kmck closed 7 years ago

kmck commented 7 years ago

Hi there! I'm encountering the issue described in https://github.com/jhamlet/svg-react-loader/issues/36. I believe a solution would be to avoid camelizing attributes that begin with with data-*.

kmck commented 7 years ago

Oh jeez, I'm sorry. I just realized that I meant to open this issue on the react-svg-loader repo, not here. Dunno if this project has the same problem still, but feel free to close 😅