# routeComponent

Adapts a React component to a Typed matcher handler, preserving reactive params and route-local services.

## Signatures

```ts
export declare function routeComponent<P extends object>(component: ComponentType<P>, options?: ViewOptions): (params: RefSubject.RefSubject<P>) => Fx.Fx<import("@typed/template/RenderEvent").RenderEvent, import("./view.js").ReactRenderError, Scope.Scope | import("@typed/template/RenderTemplate").RenderTemplate | import("@typed/id/RandomValues").RandomValues>;
```


