mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 11:07:32 +08:00
Merge pull request #26316 from asaarnak/patch-1
[@types/react-select] Fix OnInputChangeHandler type.
This commit is contained in:
2
types/react-select/index.d.ts
vendored
2
types/react-select/index.d.ts
vendored
@@ -40,7 +40,7 @@ export type FilterOptionsHandler<TValue = OptionValues> = (options: Options<TVal
|
||||
export type InputRendererHandler = (props: { [key: string]: any }) => HandlerRendererResult;
|
||||
export type MenuRendererHandler<TValue = OptionValues> = (props: MenuRendererProps<TValue>) => HandlerRendererResult;
|
||||
export type OnCloseHandler = () => void;
|
||||
export type OnInputChangeHandler = (inputValue: string) => void;
|
||||
export type OnInputChangeHandler = (inputValue: string) => string;
|
||||
export type OnInputKeyDownHandler = React.KeyboardEventHandler<HTMLDivElement | HTMLInputElement>;
|
||||
export type OnMenuScrollToBottomHandler = () => void;
|
||||
export type OnOpenHandler = () => void;
|
||||
|
||||
Reference in New Issue
Block a user