downshift
Version:
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
9 lines (8 loc) • 345 B
TypeScript
export declare const defaultProps: {
isItemDisabled(): boolean;
itemToString(item: unknown): string;
itemToKey(item: unknown): unknown;
stateReducer: typeof import("../../utils-ts").stateReducer;
scrollIntoView: typeof import("../../../utils-ts").scrollIntoView;
environment: (Window & typeof globalThis) | undefined;
};