Types: PropsGetter()<TOptions, TComponent> 
ts
type PropsGetter<TOptions, TComponent> = (route, context) => MaybePromise<ComponentProps<TComponent>>;Type Parameters 
| Type Parameter | Default type | 
|---|---|
| TOptionsextendsCreateRouteOptions | CreateRouteOptions | 
| TComponentextendsComponent | Component | 
Parameters 
| Parameter | Type | 
|---|---|
| route | ResolvedRoute<ToRoute<TOptions,undefined>> | 
| context | PropsCallbackContext<TOptions["parent"]> | 
Returns 
MaybePromise<ComponentProps<TComponent>>