UNPKG

react-slide-fade-in

Version:
9 lines (8 loc) 282 B
import { RefObject } from 'react'; declare type Props = { offset?: number; persistent?: boolean; minVisibleHeight?: number; }; export declare function useIsVisible<T extends Element>({ offset, persistent, minVisibleHeight, }: Props): [boolean, RefObject<T>]; export {};