API
interface ExposedComponent<T extends {
new (...args: any[]): any;
}> {
new (...args: any[]): any;
children?: 'any' | ExposedComponent<any>[] | false;
component: T;
description: string;
name: string;
props?: ComponentPropSchema<T>;
}
ExposedComponent
@type
T
{
new (...args: any[]): any;
}