Skip to content

Commit

Permalink
Correct propTypes for placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
gusgard authored and facebook-github-bot committed Oct 10, 2017
1 parent 7a7bdee commit dbe6044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ const TextInput = createReactClass({
/**
* The string that will be rendered before text input has been entered.
*/
placeholder: PropTypes.node,
placeholder: PropTypes.string,
/**
* The text color of the placeholder string.
*/
Expand Down

0 comments on commit dbe6044

Please sign in to comment.