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:19


caption

Optional caption: ReactNode

The caption displayed to replace the hidden select.

Defined in

src/components/Dropdown/Dropdown.tsx:16


children

Optional children: ReactNode

Defined in

src/components/Dropdown/Dropdown.tsx:17


className

Optional className: string

Defined in

src/components/Dropdown/Dropdown.tsx:18


name

Optional name: string

The name attribute of the element.

Defined in

src/components/Dropdown/Dropdown.tsx:14


onChange

Optional onChange: ChangeEventHandler<HTMLSelectElement>

Defined in

src/components/Dropdown/Dropdown.tsx:23


style

Optional style: CSSProperties

Defined in

src/components/Dropdown/Dropdown.tsx:20


value

Optional value: string | number

The selected value.

Defined in

src/components/Dropdown/Dropdown.tsx:22