Interface MultiSelectProps<T>

Type Parameters

  • T

Hierarchy

  • MultiSelectProps

Properties

getLabel: ((item: T) => string)

Type declaration

    • (item: T): string
    • Function to get the label from an option

      Parameters

      • item: T

      Returns string

getValue: ((item: T) => string)

Type declaration

    • (item: T): string
    • Function to get the value from an option

      Parameters

      • item: T

      Returns string

label: string

Label for the selection menu

onSelectOptions: ((selectedOptions: T[]) => void)

Type declaration

    • (selectedOptions: T[]): void
    • Handler to call when a user selects or removes an option

      Parameters

      • selectedOptions: T[]

      Returns void

options: T[]

List of dropdown options

selectedOptions: T[]

List of selected options

Generated using TypeDoc