component.d.ts 364 B

123456789101112
  1. import * as React from 'react';
  2. import { GapMode } from './utils';
  3. export interface BodyScroll {
  4. noRelative?: boolean;
  5. noImportant?: boolean;
  6. gapMode?: GapMode;
  7. }
  8. export declare const lockAttribute = "data-scroll-locked";
  9. /**
  10. * Removes page scrollbar and blocks page scroll when mounted
  11. */
  12. export declare const RemoveScrollBar: React.FC<BodyScroll>;