1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-29 06:30:07 +02:00
copilot/ui/src/components/toggle
2016-12-14 14:35:09 +00:00
..
index.js refactoring toggle and adding pseudo element composer 2016-12-14 14:35:09 +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>
);