UNPKG

444 BTypeScriptView Raw
1import { IRenderFunction } from '../IRenderFunction';
2/**
3 * Composes two 'render functions' to produce a final render function that renders
4 * the outer function, passing the inner function as 'default render'. The inner function
5 * is then passed the original 'default render' prop.
6 * @public
7 */
8export declare function composeRenderFunction<TProps>(outer: IRenderFunction<TProps>, inner: IRenderFunction<TProps>): IRenderFunction<TProps>;