@uifabric/utilities
Version:
Fluent UI React utilities for building components.
13 lines (12 loc) • 373 B
TypeScript
/**
* An interface representing a component that will not output any DOM, will just render its children and
* pass through items to modify the children.
*
* {@docCategory IRenderComponent}
*/
export interface IRenderComponent<TProps> {
/**
* JSX.Element to return in this component's render() function.
*/
children: (props: TProps) => JSX.Element;
}