UNPKG

react-day-picker

Version:

Customizable Date Picker for React

17 lines (16 loc) 561 B
import React from 'react'; /** The props for the [[Dropdown]] component. */ export interface DropdownProps { caption?: React.ReactNode; children?: React.SelectHTMLAttributes<HTMLSelectElement>['children']; className?: string; ['aria-label']?: string; style?: React.CSSProperties; value?: string | number; onChange?: React.ChangeEventHandler<HTMLSelectElement>; } /** * Render a styled select component – displaying a caption and a custom * drop-down icon. */ export declare function Dropdown(props: DropdownProps): JSX.Element;