joyent-portal/ui/src/components/row/readme.md
Sérgio Ramos 557cd5a291 wip rm css
2016-12-12 10:28:47 +00:00

504 B

<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