const classNames = require('classnames'); const React = require('react'); const styles = require('./style.css'); const RangeSlider = ({ className, onChange, style }) => { const slider = classNames( className, styles.input ); // TODO: Get rid of inline styles style = { ...style, display: 'block' }; return ( ); }; RangeSlider.propTypes = { className: React.PropTypes.string, onChange: React.PropTypes.func, style: React.PropTypes.object }; module.exports = RangeSlider;