1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 14:50:07 +02:00
copilot/ui/src/components/toggle
2016-12-21 11:19:59 +00:00
..
index.js adding primary font and updating css for radio component 2016-12-21 11:19:59 +00:00
readme.md Updating Toggle component to use input instead of divs 2016-11-21 17:42:26 +00:00

<Toggle>

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