react-day-picker
Version:
Customizable Date Picker for React
10 lines (9 loc) • 458 B
TypeScript
/** The props for the [[CaptionLabel]] component. */
export interface CaptionLabelProps {
/** The ID for the heading element. Must be the same as the labelled-by in Table. */
id?: string;
/** The month where the caption is displayed. */
displayMonth: Date;
}
/** Render the caption for the displayed month. This component is used when `captionLayout="buttons"`. */
export declare function CaptionLabel(props: CaptionLabelProps): JSX.Element;