joyent-portal/ui/src/components/range-slider
2017-01-12 19:04:52 +00:00
..
index.js convert every px measure into rem 2017-01-12 19:04:52 +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
story.js moving stories to directory folders 2017-01-11 14:22:42 +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 />
  );
}