UNPKG

@uifabric/utilities

Version:

Fluent UI React utilities for building components.

8 lines (7 loc) 244 B
import { IRectangle } from '../IRectangle'; /** * Helper to get bounding client rect. Passing in window will get the window size. * * @public */ export declare function getRect(element: HTMLElement | Window | null): IRectangle | undefined;