reactjs / react-magic

Automatically AJAXify plain HTML with the power of React. It's magic!
Other
947 stars 100 forks source link

Convert hyphenated attributes into camelCase #135

Open osdiab opened 7 years ago

osdiab commented 7 years ago

For instance, the svg stroke-width attribute should be converted to strokeWidth, and fill-rule to fillRule, etc.

Daniel15 commented 7 years ago

Seems reasonable. Feel free to send a pull request.