Function: Option()

May 8, 2026 ยท View on GitHub

Option(props): Element

Defined in: packages/react-day-picker/src/components/Option.tsx:9

Render an option element.

Parameters

ParameterType
propsOptionHTMLAttributes<HTMLOptionElement>

Returns

Element

See

https://daypicker.dev/guides/custom-components

Contents

  1. 1Parameters
  2. 2Returns
  3. 3See