"use strict";

exports.__esModule = true;
exports.Sidebar = void 0;
var _react = _interopRequireDefault(require("react"));
var _styled = require("./styled");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var Sidebar = exports.Sidebar = function Sidebar(_ref) {
  var info = _ref.info,
    children = _ref.children,
    className = _ref.className,
    _ref$right = _ref.right,
    right = _ref$right === void 0 ? false : _ref$right;
  return /*#__PURE__*/_react["default"].createElement(_styled.ComponentBox, {
    isRight: right
  }, /*#__PURE__*/_react["default"].createElement(_styled.SidebarBox, {
    className: className,
    shadowSide: right
  }, children), /*#__PURE__*/_react["default"].createElement(_styled.InfoBox, null, info));
};