Skip to content

Instantly share code, notes, and snippets.

@tolumide-ng
Last active January 20, 2021 16:27
import * as React from "react";
interface entryDef {
isIntersecting: Boolean;
intersectionRatio: number;
}
interface IntersectionObserverDef {
ancestorElem?: Element,
}
export const useIntersectionObserver = (props: IntersectionObserverDef) => {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment