UNPKG

373 BTypeScriptView Raw
1/**
2 * An interface representing a component that will not output any DOM, will just render its children and
3 * pass through items to modify the children.
4 *
5 * {@docCategory IRenderComponent}
6 */
7export interface IRenderComponent<TProps> {
8 /**
9 * JSX.Element to return in this component's render() function.
10 */
11 children: (props: TProps) => JSX.Element;
12}