- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
10 lines
480 B
TypeScript
10 lines
480 B
TypeScript
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 {};
|