Skip to main content

Interface: DropdownProps

The props for the Dropdown component.

Properties​

aria-label​

• Optional aria-label: string

Defined in​

src/components/Dropdown/Dropdown.tsx:20


caption​

• Optional caption: ReactNode

The caption displayed to replace the hidden select.

Defined in​

src/components/Dropdown/Dropdown.tsx:17


children​

• Optional children: ReactNode

Defined in​

src/components/Dropdown/Dropdown.tsx:18


className​

• Optional className: string

Defined in​

src/components/Dropdown/Dropdown.tsx:19


name​

• Optional name: string

The name attribute of the element.

Defined in​

src/components/Dropdown/Dropdown.tsx:15


onChange​

• Optional onChange: ChangeEventHandler<HTMLSelectElement>

Defined in​

src/components/Dropdown/Dropdown.tsx:24


style​

• Optional style: CSSProperties

Defined in​

src/components/Dropdown/Dropdown.tsx:21


value​

• Optional value: string | number

The selected value.

Defined in​

src/components/Dropdown/Dropdown.tsx:23