10 lines
452 B
TypeScript
10 lines
452 B
TypeScript
|
import type { IComponentAs } from '../IComponentAs';
|
||
|
/**
|
||
|
* Composes two components which conform to the `IComponentAs` specification; that is, two
|
||
|
* components which accept a `defaultRender` prop, which is a 'default' implementation of
|
||
|
* a component which accepts the same overall props.
|
||
|
*
|
||
|
* @public
|
||
|
*/
|
||
|
export declare function composeComponentAs<TProps extends {}>(outer: IComponentAs<TProps>, inner: IComponentAs<TProps>): IComponentAs<TProps>;
|