1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-15 07:40:07 +02:00
copilot/ui/src/components/checkbox/readme.md
Sérgio Ramos f1917acae1 no in embeds
2016-10-26 17:33:40 +01:00

779 B

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