UNPKG

473 BTypeScriptView Raw
1import React, { type ThHTMLAttributes } from "react";
2import type { CalendarWeek } from "../classes/index.js";
3/**
4 * Render the cell with the number of the week.
5 *
6 * @group Components
7 * @see https://daypicker.dev/guides/custom-components
8 */
9export declare function WeekNumber(props: {
10 /** The week to render. */
11 week: CalendarWeek;
12} & ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
13export type WeekNumberProps = Parameters<typeof WeekNumber>[0];