Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-commonjs/IRenderComponent.d.ts

13 lines
373 B
TypeScript
Raw Normal View History

/**
* 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;
}