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>
16 lines
848 B
Text
16 lines
848 B
Text
import type { CalendarDay, DateLib } from "../classes/index.js";
|
|
import type { DayPickerProps, Modifiers } from "../types/index.js";
|
|
/**
|
|
* Creates a function to retrieve the modifiers for a given day.
|
|
*
|
|
* This function calculates both internal and custom modifiers for each day
|
|
* based on the provided calendar days and DayPicker props.
|
|
*
|
|
* @private
|
|
* @param days The array of `CalendarDay` objects to process.
|
|
* @param props The DayPicker props, including modifiers and configuration
|
|
* options.
|
|
* @param dateLib The date library to use for date manipulation.
|
|
* @returns A function that retrieves the modifiers for a given `CalendarDay`.
|
|
*/
|
|
export declare function createGetModifiers(days: CalendarDay[], props: DayPickerProps, navStart: Date | undefined, navEnd: Date | undefined, dateLib: DateLib): (day: CalendarDay) => Modifiers;
|