<Autocomplete />
The
<Autocomplete /> component is typically used for search components. It consists of a text input for writing a query, and properties for rendering suggestions.border?: booleanfilterOption?: (query: string, option: Option) => booleanfontSize?: number | number[]icon?: React.ComponentType | React.ReactNodeid: stringloading?: booleanonChange?: (value: string) => voidonQueryChange?: (query: string | null) => voidonSelect?: (value: string) => voidoptions: {value: string}[]The options to render.
padding?: number | number[]placeholder?: stringprefix?: React.ReactNoderadius?: number | number[]renderOption: (option: {value: string}) => React.ReactNodeThe callback function for rendering each option.
renderValue?: (value: string, option?: Option) => stringsuffix?: React.ReactNodevalue?: stringThe current value.