Rocky_Mountain_Vending/.pnpm-store/v10/files/8d/14e463e9d211d42d70a0d12d42fb102c5c6bbcfaefa2e6ef38282ec7d7674b0fcc797bbf32d3ad402525e7b9dd31705186a0f52eeeb60f0d94a1c6fbfb94a2
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

21 lines
644 B
Text

import * as components from "../components/custom-components.js";
import type { CustomComponents, DayPickerProps } from "../types/index.js";
/**
* Merges custom components from the props with the default components.
*
* This function ensures that any custom components provided in the props
* override the default components.
*
* @param customComponents The custom components provided in the DayPicker
* props.
* @returns An object containing the merged components.
*/
export function getComponents(
customComponents: DayPickerProps["components"]
): CustomComponents {
return {
...components,
...customComponents
};
}