Skip to content

Commit

Permalink
allow select to pass any node as option, fixes #346
Browse files Browse the repository at this point in the history
  • Loading branch information
snide committed Mar 30, 2018
1 parent 905dff8 commit 50516c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/select/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ EuiSelect.propTypes = {
name: PropTypes.string,
id: PropTypes.string,
options: PropTypes.arrayOf(PropTypes.shape({
text: PropTypes.string.isRequired
text: PropTypes.node.isRequired
})).isRequired,
isInvalid: PropTypes.bool,
fullWidth: PropTypes.bool,
Expand Down

0 comments on commit 50516c4

Please sign in to comment.