UNPKG

downshift

Version:

🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.

5 lines (4 loc) 228 B
import { Action, Props } from './index.types'; export declare function callOnChangeProps<S extends object, A extends { type: string; }, P extends Props<S, A>>(action: Action<S, A, P>, props: P, state: S, newState: S): void;