react-gs
v0.2.2
Published
Some global styles for use with React
Downloads
11
Readme
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