1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 14:50:07 +02:00
copilot/ui/src/components/range-slider
2016-12-12 12:17:51 +00:00
..
index.js adding in parenthesis for function use on remcalc 2016-12-12 12:17:51 +00:00
readme.md refactoring slider component by creating mixin for base box properties - radius, border, shaddow 2016-11-01 11:17:10 +00:00

<RangeSlider>

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

nmodule.exports = ReactDOM.renderToString(
  <Base>
    <Row>
      <Column xs={6}>
        <RangeSlider />
      </Column>
    </Row>
  </Base>
);

usage

const React = require('react');
const RangeSlider = require('ui/range-slider');

module.exports = () => {
  return (
    <RangeSlider />
  );
}