import React, { type ThHTMLAttributes } from "react";
import type { CalendarWeek } from "../classes/index.js";
/**
* Render a table cell displaying the number of the week.
*
* @group Components
* @see https://daypicker.dev/guides/custom-components
*/
export function WeekNumber(
props: {
/** The week to display. */
week: CalendarWeek;
} & ThHTMLAttributes,
) {
const { week, ...thProps } = props;
return | ;
}
export type WeekNumberProps = Parameters[0];