Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DropdownProps
import { type DropdownProps } from "https://deno.land/x/netzo@0.3.66/deps/react-day-picker.ts";

The props for the Dropdown component.

Properties

optional
name: string

The name attribute of the element.

optional
caption: React$1.ReactNode

The caption displayed to replace the hidden select.

optional
children: React$1.SelectHTMLAttributes<HTMLSelectElement>["children"]
optional
className: string
optional
[aria-label]: string
optional
style: React$1.CSSProperties
optional
value: string | number

The selected value.

optional
onChange: React$1.ChangeEventHandler<HTMLSelectElement>