Skip to main content
Version: 8.10.1

Interface: DropdownProps

The props for the Dropdown component.

Properties

aria-label?

optional aria-label: string

Source

src/components/Dropdown.tsx:20


caption?

optional caption: ReactNode

The caption displayed to replace the hidden select.

Source

src/components/Dropdown.tsx:17


children?

optional children: ReactNode

Source

src/components/Dropdown.tsx:18


className?

optional className: string

Source

src/components/Dropdown.tsx:19


name?

optional name: string

The name attribute of the element.

Source

src/components/Dropdown.tsx:15


onChange?

optional onChange: ChangeEventHandler<HTMLSelectElement>

Source

src/components/Dropdown.tsx:24


style?

optional style: CSSProperties

Source

src/components/Dropdown.tsx:21


value?

optional value: string | number

The selected value.

Source

src/components/Dropdown.tsx:23