Skip to content

Commit

Permalink
Define types for multiple and value
Browse files Browse the repository at this point in the history
properties in Input.js.

`value` is used only in `static` type of Input and in that case
it is used only like <p> {value} </p>
Therefore it can be of any type.
  • Loading branch information
AlexKVal committed Apr 10, 2015
1 parent c3e54fe commit a45bca9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ const Input = React.createClass({
groupClassName: React.PropTypes.string,
wrapperClassName: React.PropTypes.string,
labelClassName: React.PropTypes.string,
disabled: React.PropTypes.bool
multiple: React.PropTypes.bool,
disabled: React.PropTypes.bool,
value: React.PropTypes.any
},

getInputDOMNode() {
Expand Down

0 comments on commit a45bca9

Please sign in to comment.