UNPKG

react-solid-flow

Version:

[SolidJS](https://www.solidjs.com/docs/latest/api#control-flow)-inspired basic control-flow components and everyday async state hook library for [React](https://reactjs.org/)

3 lines (2 loc) 216 B
import type { ReactElement, ReactNode } from "react"; export declare function renderProp<TArgs extends ReadonlyArray<unknown>>(prop: ((...args: TArgs) => ReactNode) | ReactNode, ...args: TArgs): ReactElement | null;