"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
require("./style");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var prefix = 'vtx-modalts-card';
var VmCard = function VmCard(_ref) {
  var title = _ref.title,
    children = _ref.children,
    rightContent = _ref.rightContent;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: prefix
  }, title && (/*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(prefix, "-title")
  }, /*#__PURE__*/_react["default"].createElement("span", null, title), rightContent)), /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(prefix, "-content")
  }, children));
};
var _default = exports["default"] = VmCard;
//# sourceMappingURL=index.js.map
