@mojito-inc/secondary-market
Version:
Mojito secondary market is the platform to purchase NFT.
11 lines (10 loc) • 327 B
TypeScript
import { MutableRefObject } from 'react';
type UseViewProps = {
threshold?: number;
elementRef: MutableRefObject<HTMLDivElement | null>;
};
declare const useInView: ({ threshold, elementRef }: UseViewProps) => {
inView: boolean;
elementRef: MutableRefObject<HTMLDivElement | null>;
};
export default useInView;