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>
9 lines
480 B
Text
9 lines
480 B
Text
import * as React from 'react';
|
|
import { FC } from 'react';
|
|
import { SideCarHOC } from './types';
|
|
declare type CombinedProps<T extends any[], K> = {
|
|
children: (...prop: T) => any;
|
|
} & K;
|
|
declare type RenderPropComponent<T extends any[], K> = React.ComponentType<CombinedProps<T, K>>;
|
|
export declare function renderCar<T extends any[], K, C = RenderPropComponent<T, K & Partial<SideCarHOC>>>(WrappedComponent: C, defaults: (props: K) => T): FC<CombinedProps<T, K>>;
|
|
export {};
|