Sanity Library Reference Docs
    Preparing search index...

    Type Alias NavigateToDashboardPath

    NavigateToDashboardPath: (
        options: { path: string; type?: "push" | "replace" },
    ) => void

    Reports an in-app navigation to the Dashboard so the browser URL and the Dashboard's own router follow the app. type defaults to 'push' and only applies in the federated runtime; see useNavigate.

    Type declaration

      • (options: { path: string; type?: "push" | "replace" }): void
      • Parameters

        • options: { path: string; type?: "push" | "replace" }

        Returns void