import React from 'react'; import { storiesOf } from '@storybook/react'; import { object, number } from '@storybook/addon-knobs'; import { Panel, RangeInput, SearchBox } from 'react-instantsearch-dom'; import { WrapWithHits } from './util'; const stories = storiesOf('RangeInput', module); stories .add('default', () => ( )) .add('visible without refinement', () => (
)) .add('with no refinement', () => (
)) .add('with precision of 2', () => ( )) .add('with default value', () => ( )) .add('with default values', () => ( )) .add('with min boundaries', () => ( )) .add('with max boundaries', () => ( )) .add('with min / max boundaries', () => ( )) .add('with boundaries and default value', () => ( )) .add('playground', () => ( )) .add('with Panel', () => ( )) .add('with Panel but no refinement', () => (
));