mirror of
https://github.com/yldio/copilot.git
synced 2024-11-29 06:30:07 +02:00
.. | ||
index.js | ||
readme.md | ||
size-apply.js | ||
size-match.js |
<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>
);