Types: PropsCallbackContext<TOptions>
ts
type PropsCallbackContext<TOptions> = object;Context provided to props callback functions
Type Parameters
| Type Parameter | Default type |
|---|---|
TOptions extends CreateRouteOptions | CreateRouteOptions |
Properties
| Property | Type |
|---|---|
parent | PropsCallbackParent<TOptions["parent"]> |
push | RouterPush<RouteContextToRoute<ExtractRouteContext<TOptions>>> |
reject | RouterReject<RouteContextToRejection<ExtractRouteContext<TOptions>>> |
replace | RouterReplace<RouteContextToRoute<ExtractRouteContext<TOptions>>> |