Skip to content

Commit

Permalink
propType
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Dec 30, 2016
1 parent 15451d6 commit 2412cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ React.render(c, container);
|onDeselect | called when a option is deselected. param is option's value. only called for multiple or tags | Function(value) | - |
|defaultActiveFirstOption | whether active first option by default | bool | true |
|getPopupContainer | container which popup select menu rendered into | function(trigger:Node):Node | function(){return document.body;} |
|getInputElement| customize input element | function(): Element | - |

### Option props

Expand Down
1 change: 1 addition & 0 deletions src/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const Select = React.createClass({
dropdownStyle: PropTypes.object,
maxTagTextLength: PropTypes.number,
tokenSeparators: PropTypes.arrayOf(PropTypes.string),
getInputElement: PropTypes.func,
},

mixins: [FilterMixin],
Expand Down

0 comments on commit 2412cb2

Please sign in to comment.