@o3r/components
Version:
This module contains component-related features (Component replacement, CMS compatibility, helpers, pipes, debugging developer tools...) It comes with an integrated ng builder to help you generate components compatible with Otter features (CMS integration
17 lines • 785 B
TypeScript
import type { Type } from '@angular/core';
import type { Context } from '@o3r/core';
/** Interface for grouping the arrays needed for custom component registration */
export interface EntryCustomComponents {
/** Array of custom presenters */
customComponents: Type<any>[];
/** Array of custom presenter modules */
customComponentsModules: Type<any>[];
}
/**
* Register a custom component
* @param customComponentsMap an object containing the already registered custom component
* @param customComponentKey
* @param customComponent
*/
export declare function registerCustomComponent<T extends Context>(customComponentsMap: Map<string, Type<T>>, customComponentKey: string, customComponent: Type<T>): Map<string, Type<T>>;
//# sourceMappingURL=c11n.helpers.d.ts.map