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>
23 lines
656 B
Text
23 lines
656 B
Text
import React, { type HTMLAttributes } from "react";
|
|
|
|
import type { CalendarMonth } from "../classes/index.js";
|
|
|
|
/**
|
|
* Render the caption for a month in the calendar.
|
|
*
|
|
* @group Components
|
|
* @see https://daypicker.dev/guides/custom-components
|
|
*/
|
|
export function MonthCaption(
|
|
props: {
|
|
/** The month to display in the caption. */
|
|
calendarMonth: CalendarMonth;
|
|
/** The index of the month being displayed. */
|
|
displayIndex: number;
|
|
} & HTMLAttributes<HTMLDivElement>
|
|
) {
|
|
const { calendarMonth, displayIndex, ...divProps } = props;
|
|
return <div {...divProps} />;
|
|
}
|
|
|
|
export type MonthCaptionProps = Parameters<typeof MonthCaption>[0];
|