react-day-picker
Version:
Customizable Date Picker for React
15 lines (14 loc) • 496 B
TypeScript
import { ActiveModifiers } from '../../types/Modifiers';
/** Represent the props for the [[DayContent]] component. */
export interface DayContentProps {
/** The date representing the day. */
date: Date;
/** The month where the day is displayed. */
displayMonth: Date;
/** The active modifiers for the given date. */
activeModifiers: ActiveModifiers;
}
/**
* Render the content of the day cell.
*/
export declare function DayContent(props: DayContentProps): JSX.Element;