Files
starface-outlook-sync-addin/node_modules/@fluentui/utilities/lib-commonjs/IComponentAs.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

18 lines
471 B
TypeScript

import * as React from 'react';
/**
* Properties used by render function interface for providing overrideable render callbacks.
*
* @public
* {@docCategory IComponentAsProps}
*/
export type IComponentAsProps<T> = T & {
defaultRender?: React.ComponentType<T>;
};
/**
* Render function interface for providing overrideable render callbacks.
*
* @public
* {@docCategory IComponentAs}
*/
export type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;