Commit Graph

8 Commits

Author SHA1 Message Date
Kevin Ross
2c3a4232be Add <T = any> and additional basic test for backward compatibility 2017-12-01 12:31:15 -06:00
Kevin Ross
11a1ef4de5 lint 2017-11-29 09:38:47 -06:00
Kevin Ross
ed9e0f6d14 Update react-autosuggest signatures, documentation, use generic type
- Convert Autosuggest component to a generic
- Update the renderSuggestionsContainer signature
- Add readme with usage example
- Document component props
- Export function types for easier reuse/passing in as props
2017-11-29 09:28:28 -06:00
cwmoo740
e030d2140c react-autosuggest
change theme to allow inline styles
2017-10-26 13:38:50 -04:00
Christopher Deutsch
9c1dc77ef4 Updated react-autosuggest for version 9.3.X (#20442)
`react-autosuggest` had some breaking changes.

Previously Autosuggest was defined with `any` props which meant no type checking was happening.

New definition enables type checking when using `Autosuggest` component.
```
declare class Autosuggest extends React.Component<Autosuggest.AutosuggestProps> {}
```
2017-10-16 11:36:31 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Tanguy Krotoff
27acfc741a Change require('react') to import * as React from 'react' 2017-06-19 12:09:31 +02:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00