SearchAutocomplete
Interfaces
SearchAutocompleteProps
Extends
Pick
<AutocompleteProps
<string
,false
,false
,true
>,Exclude
<keyofAutocompleteProps
<string
,false
,false
,true
>,"inputValue"
|"freeSolo"
|"multiple"
|"autoComplete"
|"loading"
|"loadingText"
|"noOptionsText"
|"options"
|"getOptionLabel"
|"onInputChange"
|"renderOption"
|"renderInput"
>>
Properties
Property | Type | Description |
---|---|---|
autoFocus? | boolean | The search form shoul focus on mount Default false |
onClear? | () => void | Handler for clear action |
onSearch? | (value : string ) => void | Handler for search action |
onSuggestionSelect? | (suggestion : SCSuggestionType ) => void | Handler for item select action |
Functions
SearchAutocomplete()
SearchAutocomplete(
inProps
):Element
Parameters
Parameter | Type |
---|---|
inProps | SearchAutocompleteProps |
Returns
Element
Source
packages/react-ui/src/components/SearchAutocomplete/SearchAutocomplete.tsx:75