Skip to content

Types: RouterPushOptions<TState> ​

ts
type RouterPushOptions<TState> = object;

Type Parameters ​

Type ParameterDefault type
TStateunknown

Properties ​

PropertyTypeDescription
hash?stringThe hash to append to the url.
query?QuerySourceThe query string to add to the url.
replace?booleanWhether to replace the current history entry.
state?Partial<TState>State values to pass to the route.