Files
SnowLuma/.pnpm-store/v11/files/7a/f8c0911219dbc6dd1525d2cd815b53b16d6ab3091c275529c24464909030586b29e2a755da7b678103c22f170b72bcdbebd93bc513a9b3236e1bc7d3e82070
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

15 lines
583 B
Plaintext

import { ParsedLocation, ScrollRestorationEntry, ScrollRestorationOptions } from '@tanstack/router-core';
/**
* @deprecated Use the `scrollRestoration` router option instead.
*/
export declare function ScrollRestoration(_props: ScrollRestorationOptions): null;
export declare function useElementScrollRestoration(options: ({
id: string;
getElement?: () => Window | Element | undefined | null;
} | {
id?: string;
getElement: () => Window | Element | undefined | null;
}) & {
getKey?: (location: ParsedLocation) => string;
}): ScrollRestorationEntry | undefined;