UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

13 lines 456 B
interface UseIntersectionObserverConfig { initialState?: boolean; } /** * A hook that uses an Intersection Observer on the target element ref * and detects if the element is intersecting with its parent. */ export declare function useIntersectionObserver<T extends HTMLElement>({ initialState, }?: UseIntersectionObserverConfig): { ref: (instance: T | null) => void; isIntersecting: boolean; }; export {}; //# sourceMappingURL=index.d.ts.map