UNPKG

@adminium/ui

Version:

Arco Design React UI Library.

12 lines (11 loc) 359 B
interface UserInViewProps extends IntersectionObserverInit { onChange?: (inView: boolean, entry: IntersectionObserverEntry) => void; hasInView?: boolean; unobserverOnEnter?: boolean; target?: Element; } declare function useInView(props: UserInViewProps): { inView: boolean; observer: IntersectionObserver; }; export default useInView;