Created
April 22, 2020 08:17
-
-
Save Haroenv/7c08139973fe402cdafd1b89dc2ca12a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export { default as Hogan } from 'hogan.js'; | |
export { default as instantsearch } from 'instantsearch.js'; | |
export { default as algoliasearch } from 'algoliasearch/lite'; | |
export { | |
default as autocomplete, | |
getAlgoliaResults, | |
getAlgoliaHits, | |
highlightAlgoliaHit, | |
} from 'autocomplete.js'; | |
export { default as aa } from 'search-insights'; | |
import rangeSlider from 'instantsearch.js/es/widgets/range-slider/range-slider'; | |
import menu from 'instantsearch.js/es/widgets/menu/menu'; | |
import refinementList from 'instantsearch.js/es/widgets/refinement-list/refinement-list'; | |
import searchBox from 'instantsearch.js/es/widgets/search-box/search-box'; | |
import stats from 'instantsearch.js/es/widgets/stats/stats'; | |
import sortBy from 'instantsearch.js/es/widgets/sort-by/sort-by'; | |
import clearRefinements from 'instantsearch.js/es/widgets/clear-refinements/clear-refinements'; | |
import panel from 'instantsearch.js/es/widgets/panel/panel'; | |
import hits from 'instantsearch.js/es/widgets/hits/hits'; | |
import pagination from 'instantsearch.js/es/widgets/pagination/pagination'; | |
import configure from 'instantsearch.js/es/widgets/configure/configure'; | |
import connectCurrentRefinements from 'instantsearch.js/es/connectors/current-refinements/connectCurrentRefinements'; | |
export const widgets = { | |
rangeSlider, | |
menu, | |
refinementList, | |
searchBox, | |
stats, | |
sortBy, | |
clearRefinements, | |
panel, | |
hits, | |
pagination, | |
configure, | |
}; | |
export const connectors = { | |
connectCurrentRefinements, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment