UNPKG

@progress/kendo-react-common

Version:

React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package

12 lines (11 loc) 621 B
/**----------------------------------------------------------------------------------------- * Copyright © 2023 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *-------------------------------------------------------------------------------------------*/ import * as React from 'react'; /** * Returns a function, which gets the `defaultView` based on the `ownerDocument` of the element. */ export declare const useWindow: (ref: React.RefObject<HTMLElement | null | { element: HTMLElement | null; }>) => () => Window;