Threadplane
Pricing
Talk to Us
@threadplane/chatFunctionv0.3.4

toRenderRegistry

Converts a ViewRegistry to an AngularRegistry for use with RenderSpecComponent.

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

Declaration · overload 1

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

Parameters

registry · required
ViewRegistry

Returns

AngularRegistry

Examples

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