import * as React from 'react'; type RenderFunction

= (props: P) => React.ReactNode; type RenderFnProps

= { Component: React.FunctionComponent

| React.ComponentClass

| string; props: P; renderCustom?: RenderFunction

; }; /** * Render a component with custom render function * * @param Component The component to be rendered * @param renderCustom The custom render function * @param props The props to be passed to the component * @returns React.ReactElement */ declare function renderFn

({ Component, props, renderCustom }: RenderFnProps

): React.ReactNode; export { renderFn };