UNPKG

@hhgtech/hhg-components

Version:
10 lines (9 loc) 354 B
export interface ScrollbarMeasurements { /** Current height of the scrollbar */ height: number; /** Current width of the scrollbar */ width: number; } export declare const MEASURE_ELEMENT_CLASS = "measure-scrollbar-size"; declare const useScrollbarSize: (trigger?: boolean) => ScrollbarMeasurements; export { useScrollbarSize };