Commit Graph

11 Commits

Author SHA1 Message Date
Per Svensson
e9f670010b Default export and removing namespace (#19863)
* Default export

* Correct imports for tests

* Update react-virtualized-select-tests.tsx

* Correct imports and cleaning
2017-09-25 12:18:03 -07:00
Matt
ae611d0aa6 Add: Some test cases. 2017-09-06 09:54:07 +10:00
Matt
2f8cdc2380 Add: Some test cases. 2017-09-04 16:21:22 +10:00
Ian Tan
be0c9d5d57 Make keyboard and focus handlers accept HTMLInputElement as type parameter 2017-08-24 11:54:20 +08:00
Walton, Reese
751d76cfc5 noResultsText can be React Component 2017-08-08 19:06:21 -04:00
Giedrius Grabauskas
1e211cd0d4 react-select: Fixed renderer handlers return types. (#18574)
* Fixed renderer handlers return types.

* Added tests to render null or false elements.

* Updated tests.

* Updated naming.

* Created and implemented type `HandlerRendererResult`.
2017-08-02 12:03:24 -07:00
Martynas Žilinskas
edbbc0dd56 [react-select] Fixed and updated (#18287)
* Added tslint. Fixed some dtslint errors.

* Changed from empty style object to React.CSSProperties.

* Changed from any to dictionary props.

* Created prop handlers types.

* Fixed props return types and Handlers return types.

* Added options. Added missing focus method in ReactSelect.

* Rewritten tests.
2017-07-31 14:54:59 -07:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Walter Rumsby
a2415a9ba3 [react-select] Update types for loadOptions to support Async options with Promises (#16664)
* Update types for loadOptions to support Async options with Promises

As per https://github.com/JedWatson/react-select#async-options-with-promises

* Add test

* Updates based on PR comments
2017-06-08 18:16:04 -07:00
Vito
789f03ed80 add undocumented prop instanceId to react-select (#15891) 2017-04-20 11:54:28 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00