UNPKG

574 BTypeScriptView Raw
1import React from "react";
2import type { CalendarMonth } from "../classes/CalendarMonth.js";
3/**
4 * Render the grid with the weekday header row and the weeks for the given
5 * month.
6 *
7 * @group Components
8 * @see https://daypicker.dev/guides/custom-components
9 */
10export declare function Month(props: {
11 /** The month where the grid is displayed. */
12 calendarMonth: CalendarMonth;
13 /** The index where this month is displayed. */
14 displayIndex: number;
15} & JSX.IntrinsicElements["div"]): React.JSX.Element;
16export type MonthProps = Parameters<typeof Month>[0];