Skip to content

Types: PropsCallbackContext<TParent>

ts
type PropsCallbackContext<TParent> = object;

Context provided to props callback functions

Type Parameters

Type ParameterDefault type
TParent extends Route | undefinedRoute | undefined

Type declaration

parent

ts
parent: PropsCallbackParent<TParent>;

push

ts
push: CallbackContext["push"];

reject

ts
reject: CallbackContext["reject"];

replace

ts
replace: CallbackContext["replace"];