import React from 'react'; import { storiesOf } from '@storybook/react'; import { ClearRefinements, RefinementList, Panel, } from 'react-instantsearch-dom'; import { WrapWithHits } from './util'; const stories = storiesOf('ClearRefinements', module); stories .add('with refinements to clear', () => (
)) .add('nothing to clear', () => ( )) .add('clear all refinements and the query', () => ( )) .add('with Panel', () => (
)) .add('with Panel but no refinement', () => ( ));