react-day-picker
Version:
Customizable Date Picker for React
13 lines (12 loc) • 368 B
TypeScript
/** Represent the props used by the [[Day]] component. */
export interface DayProps {
/** The month where the date is displayed. */
displayMonth: Date;
/** The date to render. */
date: Date;
}
/**
* The content of a day cell – as a button or span element according to its
* modifiers.
*/
export declare function Day(props: DayProps): JSX.Element;