UNPKG

@atlaskit/app-provider

Version:

A top level provider for the Design System.

16 lines (15 loc) 619 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScrollbarHarmonisation = ScrollbarHarmonisation; var _useScrollbarHarmonisation = require("./use-scrollbar-harmonisation"); /** * Compatibility adapter for applications that cannot call the hook directly, such as class-based * roots. Function components should prefer `useScrollbarHarmonisation`. Both APIs use the shared * rollout gate and should be used instead of managing the document attribute directly. */ function ScrollbarHarmonisation() { (0, _useScrollbarHarmonisation.useScrollbarHarmonisation)(); return null; }