Skip to content

Commit

Permalink
feat(connector): update jsDoc descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Stanislawski committed Mar 24, 2017
1 parent ee9fb11 commit f83022a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/connectors/price-ranges/connectPriceRanges.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Full documentation available at https://community.algolia.com/instantsearch.js/c

/**
* @typedef {Object} PriceRangesRenderingOptions
* @property {Object[]} items
* @property {function} refine
* @property {Object[]} items the prices ranges to display
* @property {function} refine select or unselect a price range and trigger a search
* @property {Object} widgetParams all original options forwarded to rendering
* @property {InstantSearch} instantSearchInstance
*/

/**
* Connects a rendering function with the price ranges business logic.
* @param {function(PriceRangesRenderingOptions)} renderFn function that renders the price ranges widget
* @param {function(PriceRangesRenderingOptions, boolean)} renderFn function that renders the price ranges widget
* @return {function(CustomPriceRangesWidgetOptions)} a widget factory for price ranges widget
*/
export default function connectPriceRanges(renderFn) {
Expand Down

0 comments on commit f83022a

Please sign in to comment.