yury-dymov / react-autocomplete-input

Autocomplete input field for React
https://yury-dymov.github.io/react-autocomplete-input/
MIT License
199 stars 65 forks source link

[BUG] Wrong onBlur signature #110

Closed fabioimpe closed 1 year ago

fabioimpe commented 1 year ago

Since the onBlur prop is directly forwarded to the underlining component, there is no point to omit the event itself from the type signature

We have a case where we need access to the event itself and would be useful to access it without having to suppress the type error