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

8 lines 332 B
type Callback = (inViewport: boolean) => void; /** * This function determines whether an element is in the viewport. The callback * is batched with other elements that also use this function, in order to improve * performance. */ export declare function isInViewport(element: Element, callback: Callback): () => void; export {};