joyent-portal/ui/src/components/toggle
2017-01-13 12:43:47 +00:00
..
index.js Fixing the build 2017-01-13 12:43:47 +00:00
readme.md updating toggle ui component 2017-01-09 18:22:43 +00:00
story.js wrapping toggle in base and removing margin on hidden label 2017-01-12 11:26:29 +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 
          labelLeft='Topology' 
          lavelRight='List'
        />
      </Column>
    </Row>
  </Base>
);