Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into fix/ie
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo authored Mar 28, 2018
2 parents 256a41c + c7e7922 commit 5cce23e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
4 changes: 2 additions & 2 deletions packages/react-instantsearch/src/widgets/RatingMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ import RatingMenu from '../components/RatingMenu';
* @translationKey ratingLabel - Label value for the rating link
* @example
* import React from 'react';
* import { InstantSearch, RefinementList } from 'react-instantsearch/dom';
* import { InstantSearch, RatingMenu } from 'react-instantsearch/dom';
*
* const App = () => (
* <InstantSearch
* appId="latency"
* apiKey="6be0576ff61c053d5f9a3225e2a90f76"
* indexName="ikea"
* >
* <RefinementList attribute="colors" />
* <RatingMenu attribute="rating" />
* </InstantSearch>
* );
*/
Expand Down
23 changes: 10 additions & 13 deletions packages/react-instantsearch/src/widgets/RefinementList.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,17 @@ import RefinementList from '../components/RefinementList';
* the [dashboard](https://www.algolia.com/explorer/display/) or using the [API](https://www.algolia.com/doc/guides/searching/faceting/#search-for-facet-values).
* @example
* import React from 'react';
* import { InstantSearch, RefinementList } from 'react-instantsearch/dom';
*
* import { RefinementList, InstantSearch } from '../packages/react-instantsearch/dom';
*
* export default function App() {
* return (
* <InstantSearch
* appId="latency"
* apiKey="6be0576ff61c053d5f9a3225e2a90f76"
* indexName="ikea"
* >
* <RefinementList attribute="colors" />
* </InstantSearch>
* );
* }
* const App = () => (
* <InstantSearch
* appId="latency"
* apiKey="6be0576ff61c053d5f9a3225e2a90f76"
* indexName="ikea"
* >
* <RefinementList attribute="colors" />
* </InstantSearch>
* );
*/

const RefinementListWidget = props => (
Expand Down

0 comments on commit 5cce23e

Please sign in to comment.