Files
Webklar.com/node_modules/react-remove-scroll-bar/dist/es2015/component.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

14 lines
415 B
TypeScript

import * as React from 'react';
import { GapMode } from './utils';
export interface BodyScroll {
noRelative?: boolean;
noImportant?: boolean;
gapMode?: GapMode;
}
export declare const lockAttribute = "data-scroll-locked";
export declare const useLockAttribute: () => void;
/**
* Removes page scrollbar and blocks page scroll when mounted
*/
export declare const RemoveScrollBar: React.FC<BodyScroll>;