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

15 lines (14 loc) 643 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 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;