[]previous and next page

NavigateProps

Props of Navigate.

Props of Navigate.

Import#

ts
import type { NavigateProps } from "@shadow-js/router";

Signature#

ts
interface NavigateProps {
  readonly to: HrefOf;
  readonly params?: Readonly<Record<string, string>> | undefined;
  readonly search?: SearchPatch | undefined;
  readonly hash?: string | undefined;
  readonly replace?: boolean | undefined;
}

Members#

Name Type Description
to readonly to: HrefOf
params? readonly params?: Readonly<Record<string, string>> | undefined
search? readonly search?: SearchPatch | undefined
hash? readonly hash?: string | undefined
replace? readonly replace?: boolean | undefined