1.0.1 • Published 7 years ago
react-style-converter v1.0.1
React style converter
Converts style properties into React format
Installation
npm install --save react-style-converter
How to use
var convert = require('react-style-converter')
var reactStyle = convert('background-image') // Outputs: backgroundImage
import convert from 'react-style-converter'
let reactStyle = convert('background-image') // Outputs: backgroundImage
This library is heavily inspired from react-attr-converter