first commit

This commit is contained in:
2026-06-24 09:48:54 +02:00
commit 41e62ddcad
33739 changed files with 4266226 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
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 {};