UNPKG

react-day-picker

Version:

Customizable Date Picker for React

14 lines (13 loc) 473 B
import React, { type ThHTMLAttributes } from "react"; import type { CalendarWeek } from "../classes/index.js"; /** * Render the cell with the number of the week. * * @group Components * @see https://daypicker.dev/guides/custom-components */ export declare function WeekNumber(props: { /** The week to render. */ week: CalendarWeek; } & ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element; export type WeekNumberProps = Parameters<typeof WeekNumber>[0];