1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-29 06:30:07 +02:00
copilot/ui/src/components/row
2016-12-12 10:28:48 +00:00
..
index.js Ensure tests pass, for merge. 2016-12-12 10:28:48 +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