Initial boiler plate project
This commit is contained in:
9
node_modules/next/dist/client/use-intersection.d.ts
generated
vendored
Normal file
9
node_modules/next/dist/client/use-intersection.d.ts
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
/// <reference types="react" />
|
||||
type UseIntersectionObserverInit = Pick<IntersectionObserverInit, 'rootMargin' | 'root'>;
|
||||
type UseIntersection = {
|
||||
disabled?: boolean;
|
||||
} & UseIntersectionObserverInit & {
|
||||
rootRef?: React.RefObject<HTMLElement> | null;
|
||||
};
|
||||
export declare function useIntersection<T extends Element>({ rootRef, rootMargin, disabled, }: UseIntersection): [(element: T | null) => void, boolean, () => void];
|
||||
export {};
|
||||
Reference in New Issue
Block a user