hire-faceted-search-elab
v2.2.2
Published
[![build status](https://travis-ci.org/HuygensING/hire-faceted-search-elab.svg?branch=master "Build status")](https://travis-ci.org/HuygensING/hire-faceted-search-elab)
Downloads
9
Readme
Hire Faceted Search (eLaborate version)
A faceted search React component.
Example
let config = {
baseURL: "",
levels: []
}
let facetList = [
"Label 1",
"Label 2",
...
]
let labels = {
newSearch: "Searchio neubo",
resultsFound: "Fundacio resultatas",
...
}
<FacetedSearch
config={config}
facetList={facetList}
labels={labels}
onChange={(result, query) => console.log(result, query)}
onSelect={(item) => console.log(item)} />