Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
10 lines
480 B
Plaintext
10 lines
480 B
Plaintext
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 {};
|