0.3.0 • Published 8 years ago
body-style-ad v0.3.0
<BodyStyle>
Code originally came from documentation of react-side-effect. We simply add support for className and make it pass lint
Update your body class or style in your ReactJs Flux
Install
Install the component using NPM:
$ npm install --save body-style
Usage
Import Custom Element:
import BodyStyle from 'body-style';
Start using it!
render() { <div> <BodyStyle style={{backgroundColor: '#FFCC00'}} className="yourComponentClass" /> ... </div> }
License
0.3.0
8 years ago