@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) • 598 B
TypeScript
/**-----------------------------------------------------------------------------------------
* 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 `ownerDocument` of the element.
*/
export declare const useDocument: (ref: React.RefObject<HTMLElement | null | {
element: HTMLElement | null;
}>) => () => Document;