react-remove-scroll-bar
Version:
Removes body scroll without content _shake_
9 lines (8 loc) • 415 B
TypeScript
export declare const zeroRightClassName = "right-scroll-bar-position";
export declare const fullWidthClassName = "width-before-scroll-bar";
export declare const noScrollbarsClassName = "with-scroll-bars-hidden";
/**
* Name of a CSS variable containing the amount of "hidden" scrollbar
* ! might be undefined ! use will fallback!
*/
export declare const removedBarSizeVariable = "--removed-body-scroll-bar-size";