Server: Phase 2 (REVIEW not respected yet)
This commit is contained in:
1 parent
5d16ded553
commit
142b47674d
4271 files changed
+1203269
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
Reference in new issue
Block a user