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