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>
18 lines
No EOL
569 B
Text
18 lines
No EOL
569 B
Text
import * as components from "../components/custom-components.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) {
|
|
return {
|
|
...components,
|
|
...customComponents
|
|
};
|
|
}
|
|
//# sourceMappingURL=getComponents.js.map |