"use strict";

exports.__esModule = true;
exports.Sidebar = void 0;

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

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

var Sidebar = function Sidebar(_ref) {
  var children = _ref.children;
  return /*#__PURE__*/_react.default.createElement("aside", {
    className: "blog-sidebar"
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: "inner"
  }, _react.default.Children.map(children, function (child) {
    return /*#__PURE__*/_react.default.createElement("div", {
      className: "blog-sidebar-group"
    }, child);
  })));
};

Sidebar.displayName = 'Sidebar';
var SidebarDoc;

if (process.env.NODE_ENV !== 'production') {
  // eslint-disable-next-line global-require
  SidebarDoc = require('./doc').doc(Sidebar);
}

var SidebarWrapper = SidebarDoc || Sidebar;
exports.Sidebar = SidebarWrapper;