import React from 'react'; import { storiesOf } from '@storybook/react'; import { object, number } from '@storybook/addon-knobs'; import { Configure, Panel, RatingMenu, SearchBox, } from 'react-instantsearch-dom'; import { WrapWithHits } from './util'; const stories = storiesOf('RatingMenu', module); stories .add('default', () => ( )) .add('with min', () => ( )) .add('with max', () => ( )) .add('with min & max', () => ( )) .add('with only one value available', () => ( )) .add('with only one value available & min & max', () => ( )) .add('with Panel', () => ( )) .add('with Panel but no refinement', () => (
)) .add('with Panel but no refinement & min & max', () => (
)) .add('playground', () => ( ));