The type of HTML element being observed, must extend HTMLElement
A React ref object pointing to the element whose height should be tracked, or a class name string
Optional configuration object
Initial height to use before the element is measured (defaults to 0)
The current height of the element in pixels, or the default height if the element is not yet mounted
A React hook that tracks the height of a DOM element using ResizeObserver.