Skip to main content

RegisterReactRouteComponent

registerReactRouteComponent

Registers a React component to be used as a route component.

Signature
function registerReactRouteComponent<Entity extends { id: string; updatedAt?: string }, T extends DocumentNode | TypedDocumentNode<any, { id: string }>, Field extends keyof ResultOf<T>, R extends Field>(options: RegisterReactRouteComponentOptions<Entity, T, Field, R>): Route

Parameters

options

parameter