# toRenderRegistry

Package: `@threadplane/angular/chat` · 0.3.7

Reference: /docs/api/angular/chat/toRenderRegistry

```typescript
import { toRenderRegistry } from '@threadplane/angular/chat';
```

## toRenderRegistry · overload 1

Converts a ViewRegistry to an AngularRegistry for use with RenderSpecComponent.

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

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