"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SideNavTypeTags = void 0;

var _react = _interopRequireDefault(require("react"));

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _SideNavTypes = require("./SideNavTypes");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var SideNavTypeTags = (0, _styledComponents.default)(_ref => {
  var {
    tags,
    specKey,
    className,
    defaultOpen
  } = _ref;
  return _react.default.createElement("div", {
    className: className
  }, Object.keys(tags).map(tag => _react.default.createElement(_SideNavTypes.SideNavTypes, {
    key: tag,
    defaultOpen: defaultOpen,
    types: tags[tag],
    tag: tag,
    specKey: specKey
  })));
}).withConfig({
  displayName: "SideNavTypeTags",
  componentId: "u6qlhq-0"
})(["padding:0 ", ";"], _ref2 => {
  var {
    theme
  } = _ref2;
  return theme.space.large;
});
exports.SideNavTypeTags = SideNavTypeTags;
//# sourceMappingURL=SideNavTypeTags.js.map