"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useThemeScrollContentHandle = void 0;

var _react = require("react");

var useThemeScrollContentHandle = function useThemeScrollContentHandle() {
  // Mutable value
  var themeScrollContentHandle = (0, _react.useRef)({
    calculatePositionOnFocus: null,
    focusByIndex: null,
    focusOnNode: null,
    getScrollBounds: null,
    pauseSpotlight: null,
    setContainerDisabled: null,
    setLastFocusedNode: null,
    shouldPreventScrollByFocus: null
  }); // Functions

  var setThemeScrollContentHandle = function setThemeScrollContentHandle(handle) {
    themeScrollContentHandle.current = handle;
  }; // Return


  return [themeScrollContentHandle, setThemeScrollContentHandle];
};

exports.useThemeScrollContentHandle = useThemeScrollContentHandle;