"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.CollectionManageTagsModal = void 0;
var _react = _interopRequireDefault(require("react"));
var _ToolbarCollectionContext = require("../../ToolbarCollectionContext");
var _ManageTagsModal = require("./ManageTagsModal/ManageTagsModal");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/Tags/ManageTags/CollectionManageTagsModal.tsx";
const CollectionManageTagsModal = () => {
  var _toolbarState$tagsCol;
  const toolbarState = (0, _ToolbarCollectionContext.useToolbarCollectionContext)();
  const tagsModalState = (_toolbarState$tagsCol = toolbarState.tagsCollectionState) == null ? void 0 : _toolbarState$tagsCol.tagsModalState;
  if (!tagsModalState) {
    return null;
  }
  return /*#__PURE__*/_react.default.createElement(_ManageTagsModal.ManageTagsModal, {
    state: tagsModalState,
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 12,
      columnNumber: 10
    }
  });
};
exports.CollectionManageTagsModal = CollectionManageTagsModal;
//# sourceMappingURL=CollectionManageTagsModal.js.map