Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WithOptionLabel

Hierarchy

  • WithOptionLabel

Index

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

    • option: EnumOption

    Returns string

Optional renderOption

  • renderOption(option: EnumOption, state: AutocompleteRenderOptionState): ReactNode
  • Parameters

    • option: EnumOption
    • state: AutocompleteRenderOptionState

    Returns ReactNode

Generated using TypeDoc