@multiversx/sdk-dapp-swap
Version:
A library to hold the main logic for swapping between tokens on the MultiversX blockchain
15 lines • 646 B
TypeScript
import { Dispatch, SetStateAction } from 'react';
import { TokensPaginationType, UserEsdtType } from 'types';
interface UseIntersectionObserverType {
hasMore: boolean;
pageSize: number;
observerId: string;
isLoading: boolean;
currentCursor: string;
tokens: UserEsdtType[];
loadedCursors: Set<string>;
setPagination: Dispatch<SetStateAction<TokensPaginationType>>;
}
export declare const useIntersectionObserver: ({ tokens, hasMore, pageSize, isLoading, observerId, loadedCursors, currentCursor, setPagination }: UseIntersectionObserverType) => void;
export {};
//# sourceMappingURL=useIntersectionObserver.d.ts.map