"use strict";

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