Type Alias: DropdownOption
DropdownOption = {
disabled
:boolean
;label
:string
;value
:number
; }
Defined in: src/components/Dropdown.tsx:7
An option to use in the dropdown. Maps to the <option>
HTML element.
Properties
disabled
disabled:
boolean
Defined in: src/components/Dropdown.tsx:16
The dropdown option is disabled when it cannot be selected because out of the calendar range.
label
label:
string
Defined in: src/components/Dropdown.tsx:11
The label of the option.
value
value:
number
Defined in: src/components/Dropdown.tsx:9
The value of the option.