"use strict";

exports.__esModule = true;
exports.useTagsWidgetContext = exports.tagsWidgetContext = exports.TagsWidgetContextProvider = exports.TagsWidgetContextConsumer = void 0;
var _react = require("react");
var _createContext = require("../createContext");
const tagsWidgetContext = exports.tagsWidgetContext = /*#__PURE__*/(0, _react.createContext)(null);
const TagsWidgetContextProvider = exports.TagsWidgetContextProvider = tagsWidgetContext.Provider;
const TagsWidgetContextConsumer = exports.TagsWidgetContextConsumer = tagsWidgetContext.Consumer;
const useTagsWidgetContext = () => {
  const value = (0, _react.useContext)(tagsWidgetContext);
  (0, _createContext.assertContextValue)('TagsWidgetProvider', value);
  return value;
};
exports.useTagsWidgetContext = useTagsWidgetContext;
//# sourceMappingURL=TagsWidgetContext.js.map