UNPKG

439 BTypeScriptView Raw
1import React, { type HTMLAttributes } from "react";
2import type { CalendarWeek } from "../classes/index.js";
3/**
4 * Render a row in the calendar, with the days and the week number.
5 *
6 * @group Components
7 * @see https://daypicker.dev/guides/custom-components
8 */
9export declare function Week(props: {
10 week: CalendarWeek;
11} & HTMLAttributes<HTMLTableRowElement>): React.JSX.Element;
12export type WeekProps = Parameters<typeof Week>[0];