joyent-portal/ui/src/components/row
2017-02-03 12:35:33 +00:00
..
index.js adding in columns for responsive layout 2017-02-03 12:35:33 +00:00
readme.md wip rm css 2016-12-12 10:28:47 +00:00
size-apply.js remove lodash.isarray dependency 2016-12-12 10:28:48 +00:00
size-match.js wip rm css 2016-12-12 10:28:47 +00:00

<Row>

demo

const styleSheet = require('styled-components/lib/models/StyleSheet')
const React = require('react');
const ReactDOM = require('react-dom/server');
const Row = require('./index.js');
const Container = require('../container');
// const styles = styleSheet.rules().map(rule => rule.cssText).join('\n')

nmodule.exports = ReactDOM.renderToString(
  <Row center='xs' start='sm'>
    <pre>{styleSheet}</pre>
    <button>1</button>
    <button>2</button>
  </Row>
);

usage