Skip to content

subhojit777/react-style-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Coverage Status

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

Why this library is not incorporated to react-attr-converter

It is not possible

About

Convert style properties into React format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published