react-gs

0.2.2 • Public • Published

react-gs

react-gs

Inline style declarations for React

Demo - http://clintonhalpin.github.io/react-gs/examples/#/

get started

Install

npm i react-gs --save

Import

import * as gs from 'react-gs';
 
// JSX
<div style={gs.ta.center}>Text Align Center</div>
// Or with Radium ( object-assign )
<div style={[ga.ta.center, ga.fs.large]}>Text Align Center + Large</div>

built by @clintonhalpin

/react-gs/

    Package Sidebar

    Install

    npm i react-gs

    Weekly Downloads

    5

    Version

    0.2.2

    License

    MIT

    Last publish

    Collaborators

    • clintonhalpin