Skip to content

Commit

Permalink
Merge pull request #21 from visusnet/group-prop-type
Browse files Browse the repository at this point in the history
Update Typeahead.jsx
  • Loading branch information
visusnet committed Jul 20, 2018
2 parents e6d9ed8 + 79d475c commit 504a8f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Typeahead.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export default class Typeahead extends PureComponent<Props, State> {
onChange: PropTypes.func,
options: PropTypes.arrayOf(PropTypes.shape({
label: PropTypes.string.isRequired,
value: PropTypes.any.isRequired
value: PropTypes.any.isRequired,
group: PropTypes.any
})).isRequired,
placeholder: PropTypes.string,
renderEmptyGroups: PropTypes.bool,
Expand Down

0 comments on commit 504a8f6

Please sign in to comment.