joyent-portal/ui/src/components/toggle
2016-10-31 12:10:24 +00:00
..
index.js add todo to 2016-10-26 14:05:35 +01:00
readme.md no in embeds 2016-10-26 17:33:40 +01:00
style.css updating constants and updating components to use css constants 2016-10-31 12:10:24 +00:00

<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>
    <Row>
      <Column>
        <Toggle />
      </Column>
      <Column>
        <Toggle off />
      </Column>
    </Row>
  </Base>
);