Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onClick={() => refine(items)}
label="Clear All"
primary
style={{ height: 48, width: '100%' }}
className="ClearAll"
/>
);
}
const ConnectedSearchBox = connectSearchBox(MaterialUiSearchBox);
const ConnectedCheckBoxRefinementList = connectRefinementList(
MaterialUiCheckBoxRefinementList
);
const ConnectedNestedList = connectHierarchicalMenu(MaterialUiNestedList);
const ConnectedSortBy = connectSortBy(MaterialUiSortBy);
const ConnectedHits = connectInfiniteHits(CustomHits);
const ConnectedCurrentRefinements = connectCurrentRefinements(
MaterialUiClearAllFilters
);
export default withURLSync(App);
import React from 'react';
import { storiesOf } from '@storybook/react';
import { object, text } from '@storybook/addon-knobs';
import {
Breadcrumb,
HierarchicalMenu,
Panel,
connectHierarchicalMenu,
} from 'react-instantsearch-dom';
import { WrapWithHits } from './util';
const stories = storiesOf('Breadcrumb', module);
const VirtualHierarchicalMenu = connectHierarchicalMenu(() => null);
stories
.add('default', () => (
<div>
<hr>
</div>