Skip to content

studiofrenetic/body-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<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

  1. Import Custom Element:

    import BodyStyle from 'body-style';
  2. Start using it!

    render() {
      <div>
        <BodyStyle style={{backgroundColor: '#FFCC00'}} className="yourComponentClass" />
        ...
      </div>
    }

License

MIT License

About

Body style component built with and for ReactJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published