UNPKG

@react-md/autocomplete

Version:

Create an accessible autocomplete component that allows a user to get real-time suggestions as they type within an input. This component can also be hooked up to a backend API that handles additional filtering or sorting.

8 lines (7 loc) 319 B
import React from "react"; import { AutoCompleteProps } from "./types"; /** * An AutoComplete is an accessible combobox widget that allows for real-time * suggestions as the user types. */ export declare const AutoComplete: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<HTMLInputElement>>;