ConstThe properties for the Autocomplete component
The ref forwarded to the underlying MaterialAutocomplete
A rendered Autocomplete component
// Basic usage
<Autocomplete
options={['Option 1', 'Option 2']}
fullWidth
/>
// With objects
<Autocomplete
options={[
{ id: 1, label: 'Item 1' },
{ id: 2, label: 'Item 2' }
]}
getOptionLabel={(option) => option.label}
/>
A customized Material-UI Autocomplete component with enhanced functionality.