File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/connectors/price-ranges Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ Full documentation available at https://community.algolia.com/instantsearch.js/c
2424
2525/**
2626 * @typedef {Object } PriceRangesRenderingOptions
27- * @property {Object[] } items
28- * @property {function } refine
27+ * @property {Object[] } items the prices ranges to display
28+ * @property {function } refine select or unselect a price range and trigger a search
2929 * @property {Object } widgetParams all original options forwarded to rendering
3030 * @property {InstantSearch } instantSearchInstance
3131 */
3232
3333 /**
3434 * Connects a rendering function with the price ranges business logic.
35- * @param {function(PriceRangesRenderingOptions) } renderFn function that renders the price ranges widget
35+ * @param {function(PriceRangesRenderingOptions, boolean ) } renderFn function that renders the price ranges widget
3636 * @return {function(CustomPriceRangesWidgetOptions) } a widget factory for price ranges widget
3737 */
3838export default function connectPriceRanges ( renderFn ) {
You can’t perform that action at this time.
0 commit comments