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(props: HTMLAttributes<HTMLLIElement>, option: EnumOption, state: AutocompleteRenderOptionState): ReactNode
-
Parameters
-
props: HTMLAttributes<HTMLLIElement>
-
option: EnumOption
-
state: AutocompleteRenderOptionState
Returns ReactNode