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