Interface WithOptionLabel
Methods
Optional filterOptions
- filterOptions(options: EnumOption[], state: FilterOptionsState<EnumOption>): EnumOption[]
-
Parameters
-
options: EnumOption[]
-
state: FilterOptionsState<EnumOption>
Returns EnumOption[]
Optional getOptionLabel
- getOptionLabel(option: EnumOption): string
-
Parameters
Returns string
Optional renderOption
- renderOption(option: EnumOption, state: AutocompleteRenderOptionState): ReactNode
-
Parameters
-
option: EnumOption
-
state: AutocompleteRenderOptionState
Returns ReactNode