Exposes a component by combining it with additional configuration details.
@template T - The type of the Angular component.
declare function exposeComponent<T extends {
new (...args: any[]): any;
}>(component: T, config: _types.Prettify<Omit<ExposedComponent<T>, 'component' | 'name' | 'props'> & {
input?: ComponentPropSchema<T>;
}>): ExposedComponent<T>;
@param
component
The Angular component to be exposed.
T
@param
config
The configuration object for the component, excluding the component itself.
_types.Prettify<Omit<ExposedComponent<T>, 'component' | 'name' | 'props'> & {
input?: ComponentPropSchema<T>;
}>
@type
T
{
new (...args: any[]): any;
}
@returns
ExposedComponent<T>