Charles Arnold
1defb4cf40
react-select: fix issue with props ref not set to correct type, and update tests to test additional React.Props types
2016-06-28 09:54:10 -07:00
Charles Arnold
5c8b964686
react-select: exporting ReactAsyncSelectProps
2016-06-28 09:49:56 -07:00
Charles Arnold
490fa83686
react-select: exporting ReactSelectProps
2016-06-28 09:49:30 -07:00
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
vickyl1
a50c292dc1
Fix definition for custom components in react-select ( #9516 )
2016-06-03 00:39:45 +09:00
Charlie Arnold
398bd74211
react-select: change from ES6 export default to 'export =' to match javascript module ( #9274 )
2016-05-15 02:52:52 +09:00
Jason Killian
2c530936fe
Add openOnFocus prop to typings ( #9319 )
...
See https://github.com/JedWatson/react-select#further-options for prop
details
2016-05-15 02:21:02 +09:00
Derrick Liu
cc14a78043
react-select: update props to match Select and Async source files ( #9127 )
...
* Add an export for Option so we can use it directly
* Update tests to import the newly exported Option
* Add missing props from latest `react-select` 1.0.0-beta12
* Add menuRenderer function and interface for its named props
* This argument should be optional.
* `tabSelectsValue` should be a boolean, not a string
* Update tests with new props
* Export menu renderer props so devs can write typesafe `menuRenderer` functions
* Make sure to check exports in tests, since it's likely users won't be using <reference... >
2016-05-06 03:17:45 +09:00
Derrick Liu
0c33358b1e
react-select: Export the Option interface ( #9110 )
...
* Add an export for Option so we can use it directly
* Update tests to import the newly exported Option
2016-05-01 21:55:08 +09:00
Derrick Liu
1f17720f56
react-select: use export default to match library ( #9100 )
...
* Update react-select to export Select by default
* Update react-select tests to match
2016-04-26 00:40:19 +09:00
Greg O'Connor
ed728ac598
react-select: Allow placeholder to be an Element ( #9061 )
2016-04-23 23:35:52 +09:00
Roger Chen
2543e90c09
Fix definition for optionRenderer in react-select ( #8957 )
2016-04-17 23:48:38 +09:00
M Clark
1239b5a12b
Bugfix in ReactSelect.Async definitions ( #8898 )
...
* Bugfix in ReactSelect.Async definitions
* Extended defined props
2016-04-14 21:48:40 +09:00
Andrzej Skrodzki
8d0cdb374d
Update avaiable hooks. ( #8909 )
...
Apply comments.
Minor changes.
2016-04-13 00:35:06 +09:00
Gilad Gray
3716056736
update typings for React Select 1.0.0
...
- use `export = var` syntax so it works as a global library
- put interfaces in ghost module so they don't pollute global namespace
- add JSDoc comments for each prop
- move old version to -0.9.10
2016-03-14 19:21:05 -07:00
Jim McCarthy
0074be4cf5
Updated type file to include support for Async dropdowns. Added tests.
2016-01-13 11:26:37 -05:00
Hugo ESQUIBET
cb795efdf7
removing implicit any
2015-12-19 18:55:42 +01:00
Hugo ESQUIBET
9c75894f26
changing the any types to fix build
2015-12-19 18:43:58 +01:00
Hugo ESQUIBET
fae4ebf981
Adding contribution guidlines
2015-12-19 18:30:23 +01:00
Hugo ESQUIBET
86897d7a5c
adding react-select typings support from https://github.com/JedWatson/react-select
2015-12-19 16:47:34 +01:00