Skip to content

Commit

Permalink
Adding multi prop to Async component, resolves ESLint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Mar 17, 2017
1 parent bb75169 commit 93c3009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Async.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const propTypes = {
React.PropTypes.node
]),
loadOptions: React.PropTypes.func.isRequired, // callback to load options asynchronously; (inputValue: string, callback: Function): ?Promise
multi: React.PropTypes.bool, // multi-value input
options: PropTypes.array.isRequired, // array of options
placeholder: React.PropTypes.oneOfType([ // field placeholder, displayed when there's no value (shared with Select)
React.PropTypes.string,
Expand Down

0 comments on commit 93c3009

Please sign in to comment.