@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
10 lines (9 loc) • 482 B
TypeScript
import { type Dispatch, type SetStateAction } from "react";
export declare function useComboControls(setActiveChip: Dispatch<SetStateAction<string | null>>, isMulti: boolean): {
onClick: () => void;
onFocus: () => void;
onBlur: (e: import("react").FocusEvent<HTMLInputElement, Element>) => void;
value: string;
onChange: (ev: import("react").ChangeEvent<HTMLInputElement>) => void;
onKeyDown: (e: import("react").KeyboardEvent<HTMLInputElement>) => void;
};