.. | ||
index.js | ||
readme.md | ||
style.css |
<Button>
demo
const React = require('react');
const ReactDOM = require('react-dom/server');
const Base = require('../base');
const Container = require('../container');
const Row = require('../row');
const Column = require('../column');
const Toggle = require('./index.js');
const styles = require('./style.css');
nmodule.exports = ReactDOM.renderToString(
<Base>
<Container>
<Row>
<Column>
<Toggle />
</Column>
<Column>
<Toggle off />
</Column>
</Row>
</Container>
</Base>
);