"use strict";

exports.__esModule = true;
exports.Tags = void 0;
var _react = require("react");
var _ToolbarCollectionContext = require("../ToolbarCollectionContext");
var _TagsCollectionState = require("../../state/TagsCollectionState");
var _manageTagsPageAction = require("./manageTagsPageAction");
const Tags = props => {
  const toolbarCollectionState = (0, _ToolbarCollectionContext.useToolbarCollectionContext)();
  (0, _react.useState)(() => {
    toolbarCollectionState.tagsCollectionState ?? (toolbarCollectionState.tagsCollectionState = new _TagsCollectionState.TagsCollectionState({
      toolbar: toolbarCollectionState,
      props,
      Tags,
      ...props
    }));
    return toolbarCollectionState.tagsCollectionState;
  });
  return null;
};
exports.Tags = Tags;
Tags.manageTagsPageAction = _manageTagsPageAction.manageTagsPageAction;
//# sourceMappingURL=Tags.js.map