"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = exports.VmContainer = void 0;
var _react = _interopRequireDefault(require("react"));
require("./style");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var VmContainer = exports.VmContainer = function VmContainer(props) {
  var children = props.children,
    title = props.title,
    headerContent = props.headerContent,
    _props$style = props.style,
    style = _props$style === void 0 ? {} : _props$style,
    _props$contentStyle = props.contentStyle,
    contentStyle = _props$contentStyle === void 0 ? {} : _props$contentStyle;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "container",
    style: style
  }, (title || headerContent) && (/*#__PURE__*/_react["default"].createElement("div", {
    className: "title-wrap"
  }, title ? /*#__PURE__*/_react["default"].createElement("div", {
    className: "title-title"
  }, title) : null, /*#__PURE__*/_react["default"].createElement("div", {
    className: "title-headerContent"
  }, headerContent))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "content",
    style: contentStyle
  }, children));
};
var _default = exports["default"] = VmContainer;
//# sourceMappingURL=index.js.map
