Skip to content
Threadplane
Pricing
164Talk to Us
@threadplane/angular/chatFunctionv0.3.7

toRenderRegistry

Converts a ViewRegistry to an AngularRegistry for use with RenderSpecComponent.

View sourceView Markdown
import { toRenderRegistry } from '@threadplane/angular/chat';

Declaration · overload 1

export declare function toRenderRegistry(registry: ViewRegistry): AngularRegistry;

Parameters

registry · required
ViewRegistry

Returns

AngularRegistry

Examples

const registry = toRenderRegistry(views({ metric: MetricCardComponent }));