joyent-portal/ui/src/components/toggle/readme.md
2016-10-26 11:57:00 +01:00

575 B

<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>
);