Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
537 B
Text
21 lines
537 B
Text
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<HTMLTableCellElement>
|
|
) {
|
|
const { week, ...thProps } = props;
|
|
return <th {...thProps} />;
|
|
}
|
|
|
|
export type WeekNumberProps = Parameters<typeof WeekNumber>[0];
|