@open-chat/chat-bubble
Version:
Chat bubble component.
7 lines (6 loc) • 310 B
TypeScript
import { RefObject } from 'react';
interface Args extends IntersectionObserverInit {
freezeOnceVisible?: boolean;
}
export declare function useIntersectionObserver(elementRef: RefObject<Element>, { threshold, root, rootMargin, freezeOnceVisible, }: Args): IntersectionObserverEntry | undefined;
export {};