downshift
Version:
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
17 lines (16 loc) • 811 B
TypeScript
import PropTypes from 'prop-types';
export declare const propTypes: {
environment: PropTypes.Requireable<PropTypes.InferProps<{
addEventListener: PropTypes.Validator<(...args: any[]) => any>;
removeEventListener: PropTypes.Validator<(...args: any[]) => any>;
document: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
createElement: PropTypes.Validator<(...args: any[]) => any>;
getElementById: PropTypes.Validator<(...args: any[]) => any>;
activeElement: PropTypes.Validator<any>;
body: PropTypes.Validator<any>;
}>>>;
Node: PropTypes.Validator<(...args: any[]) => any>;
}>>;
itemToKey: PropTypes.Requireable<(...args: any[]) => any>;
stateReducer: PropTypes.Requireable<(...args: any[]) => any>;
};