@totalsoft/rocket-ui
Version:
A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.
15 lines (14 loc) • 813 B
TypeScript
import React from 'react';
import { AutocompleteProps } from './types';
/**
*
* The autocomplete is a normal text input enhanced by a panel of suggested options.
*
* The widget is useful for setting the value of a single-line textbox in one of two types of scenarios:
*
* The value for the textbox must be chosen from a predefined set of allowed values, e.g., a location field must contain a valid location name.
* The textbox may contain any arbitrary value, but it is advantageous to suggest possible values to the user, e.g., a search field may suggest similar or previous searches to save the user time.
* It's meant to be an improved version of the "react-select" and "downshift" packages.
*/
declare const Autocomplete: React.FC<AutocompleteProps<any, any, any, any>>;
export default Autocomplete;