Skip to content

Commit

Permalink
fix(Search): allow arbitrary React nodes for label (carbon-design-sys…
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh authored and marijohannessen committed Jan 29, 2018
1 parent 9e36c08 commit 948d471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class Search extends Component {
type: PropTypes.string,
small: PropTypes.bool,
placeHolderText: PropTypes.string,
labelText: PropTypes.string.isRequired,
labelText: PropTypes.node.isRequired,
id: PropTypes.string,
searchButtonLabelText: PropTypes.string,
layoutButtonLabelText: PropTypes.string,
Expand Down

0 comments on commit 948d471

Please sign in to comment.