Skip to content

Commit

Permalink
Select: fix onChange prop documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed May 7, 2015
1 parent 911c549 commit 73cb261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var Select = React.createClass({
searchable: React.PropTypes.bool, // whether to enable searching feature or not
searchPromptText: React.PropTypes.string, // label to prompt for search input
name: React.PropTypes.string, // field name, for hidden <input /> tag
onChange: React.PropTypes.func, // onChange handler: function(newValue) {}
onChange: React.PropTypes.func, // onChange handler: function(newValue, selectedValues) {}
onFocus: React.PropTypes.func, // onFocus handler: function(event) {}
onBlur: React.PropTypes.func, // onBlur handler: function(event) {}
className: React.PropTypes.string, // className for the outer element
Expand Down Expand Up @@ -728,4 +728,4 @@ var Select = React.createClass({

});

module.exports = Select;
module.exports = Select;

0 comments on commit 73cb261

Please sign in to comment.