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

Commit

Permalink
fix(List): adds support for any type of renderable element (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschinis authored and mthuret committed Aug 21, 2017
1 parent e658095 commit d848bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-instantsearch/src/components/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import SearchBox from '../components/SearchBox';
const itemsPropType = PropTypes.arrayOf(
PropTypes.shape({
value: PropTypes.any,
label: PropTypes.string.isRequired,
label: PropTypes.node.isRequired,
items: (...args) => itemsPropType(...args),
})
);
Expand Down

0 comments on commit d848bb6

Please sign in to comment.