"use strict";

exports.__esModule = true;
exports.useVirtualGridStateContext = exports.VirtualVirtualGridStateContext = exports.VirtualGridStateProvider = exports.VirtualGridStateConsumer = void 0;
var _react = require("react");
var _createContext = require("../../createContext");
const VirtualVirtualGridStateContext = exports.VirtualVirtualGridStateContext = /*#__PURE__*/(0, _react.createContext)(null);
const VirtualGridStateProvider = exports.VirtualGridStateProvider = VirtualVirtualGridStateContext.Provider;
const VirtualGridStateConsumer = exports.VirtualGridStateConsumer = VirtualVirtualGridStateContext.Consumer;
const useVirtualGridStateContext = () => {
  const value = (0, _react.useContext)(VirtualVirtualGridStateContext);
  (0, _createContext.assertContextValue)('VirtualGridStateProvider', value);
  return value;
};
exports.useVirtualGridStateContext = useVirtualGridStateContext;
//# sourceMappingURL=VirtualGridStateContext.js.map