14 lines
415 B
TypeScript
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>;
|