Files
DefinitelyTyped/react-select
Moritz 8d7c3081e7 react-select: Fix definition of loadOptions-cb (#9549)
Adding the second parameter:
--
LoadOptions is called here with the value of the responseHandler-Variable:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L138

The implementation of that function is here:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L102

It's very obvious that this function needs two parameters.

The data-parameter:
--
See their readme.md file:
74e0f0867f (async-options)

The also matches the expected variables in the code.
2016-06-08 19:17:07 +09:00
..