import React from 'react'; import { storiesOf } from '@storybook/react'; import { DynamicWidgets, HierarchicalMenu, Menu, Panel, RefinementList, } from 'react-instantsearch-dom'; import { WrapWithHits } from './util'; const stories = storiesOf('DynamicWidgets', module); stories .add('default', () => ( try the queries: dog or lego. )) .add('multiple requests', () => ( try the queries: dog or lego. Notice how there are two network requests, with a minimal payload each. ));
try the queries: dog or lego.
dog
lego
try the queries: dog or lego. Notice how there are two network requests, with a minimal payload each.