Autocomplete

The AutoComplete component provides suggestions while typing. It acts as a wrapper around TextInput.

Example Usage

Object Options

You can pass an array of objects containing value and label.

API

Property
Description
Type
Default

options

Array of options (strings or objects with value and label) string[] | { value: string; label?: string }[] []

value

Current value string

placeholder

Input placeholder string

...TextInputProps

Inherits all props from TextInput any