UNPKG

react-day-picker

Version:

Customizable Date Picker for React

17 lines (16 loc) 601 B
import React, { type HTMLAttributes } from "react"; import type { CalendarMonth } from "../classes/CalendarMonth.js"; /** * Render the grid with the weekday header row and the weeks for the given * month. * * @group Components * @see https://daypicker.dev/guides/custom-components */ export declare function Month(props: { /** The month where the grid is displayed. */ calendarMonth: CalendarMonth; /** The index where this month is displayed. */ displayIndex: number; } & HTMLAttributes<HTMLDivElement>): React.JSX.Element; export type MonthProps = Parameters<typeof Month>[0];