joyent-portal/ui/src/components/checkbox
2017-02-16 12:37:46 +00:00
..
index.js baseline composer 2017-02-16 12:37:46 +00:00
readme.md no in embeds 2016-10-26 17:33:40 +01:00
story.js moving stories to directory folders 2017-01-11 14:22:42 +00:00

<Checkbox>

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 Checkbox = require('./index.js');
const styles = require('./style.css');

nmodule.exports = ReactDOM.renderToString(
  <Base>
    <Row>
      <Column>
        <Checkbox checked>
          Checkbox checked
        </Checkbox>
      </Column>
    </Row>
    <Row>
      <Column>
        <Checkbox>
          Checkbox unchecked
        </Checkbox>
      </Column>
    </Row>
    <Row>
      <Column>
        <Checkbox disabled>
          Checkbox disabled
        </Checkbox>
      </Column>
    </Row>
  </Base>
);