react-day-picker
Version:
Customizable Date Picker for React
11 lines (10 loc) • 386 B
TypeScript
import React, { type OptionHTMLAttributes } from "react";
/**
* Render an `option` element.
*
* @group Components
* @see https://daypicker.dev/guides/custom-components
*/
export declare function Option(props: OptionHTMLAttributes<HTMLOptionElement>): React.JSX.Element;
/** Props accepted by the {@link Option} component. */
export type OptionProps = Parameters<typeof Option>[0];