2016-10-24 23:58:09 +03:00
|
|
|
# `<Row>`
|
|
|
|
|
|
|
|
## demo
|
|
|
|
|
|
|
|
```embed
|
2016-12-06 13:50:24 +02:00
|
|
|
const styleSheet = require('styled-components/lib/models/StyleSheet')
|
2016-10-24 23:58:09 +03:00
|
|
|
const React = require('react');
|
|
|
|
const ReactDOM = require('react-dom/server');
|
|
|
|
const Row = require('./index.js');
|
2016-10-25 04:15:43 +03:00
|
|
|
const Container = require('../container');
|
2016-12-06 13:50:24 +02:00
|
|
|
// const styles = styleSheet.rules().map(rule => rule.cssText).join('\n')
|
2016-10-24 23:58:09 +03:00
|
|
|
|
|
|
|
nmodule.exports = ReactDOM.renderToString(
|
2016-10-26 19:32:38 +03:00
|
|
|
<Row center='xs' start='sm'>
|
2016-12-06 13:50:24 +02:00
|
|
|
<pre>{styleSheet}</pre>
|
|
|
|
<button>1</button>
|
|
|
|
<button>2</button>
|
2016-10-26 19:32:38 +03:00
|
|
|
</Row>
|
2016-10-24 23:58:09 +03:00
|
|
|
);
|
|
|
|
```
|
|
|
|
|
|
|
|
## usage
|