1 | import React from "react";
|
2 | import type { CalendarMonth } from "../classes/index.js";
|
3 | /**
|
4 | * Render the caption of a month in the calendar.
|
5 | *
|
6 | * @group Components
|
7 | * @see https://daypicker.dev/guides/custom-components
|
8 | */
|
9 | export declare function MonthCaption(props: {
|
10 | /** The month where the grid is displayed. */
|
11 | calendarMonth: CalendarMonth;
|
12 | /** The index where this month is displayed. */
|
13 | displayIndex: number;
|
14 | } & JSX.IntrinsicElements["div"]): React.JSX.Element;
|
15 | export type MonthCaptionProps = Parameters<typeof MonthCaption>[0];
|