Skip to main content

Type Alias: DropdownOption

DropdownOption = { disabled: boolean; label: string; value: number; }

Defined in: src/components/Dropdown.tsx:6

An option to use in the dropdown. Maps to the <option> HTML element.

Properties

disabled

disabled: boolean

Defined in: src/components/Dropdown.tsx:12

Whether the dropdown option is disabled (e.g., out of the calendar range).


label

label: string

Defined in: src/components/Dropdown.tsx:10

The label of the option.


value

value: number

Defined in: src/components/Dropdown.tsx:8

The value of the option.