mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Merge pull request #23386 from brmenchl/master
[react-geosuggest] Add argument types to onFocus component prop
This commit is contained in:
2
types/react-geosuggest/index.d.ts
vendored
2
types/react-geosuggest/index.d.ts
vendored
@@ -34,7 +34,7 @@ export interface GeosuggestProps extends InputHTMLAttributes<HTMLInputElement> {
|
||||
queryDelay?: number;
|
||||
minLength?: number;
|
||||
highlightMatch?: boolean;
|
||||
onFocus?(): void;
|
||||
onFocus?(value: any): void;
|
||||
onBlur?(value: any): void;
|
||||
onChange?(value: any): void;
|
||||
onKeyDown?(event: any): void;
|
||||
|
||||
Reference in New Issue
Block a user