Skip to content

clintonhalpin/react-gs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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