"use strict";

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

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

var _propTypes = _interopRequireDefault(require("prop-types"));

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

function Title(props) {
  var text = props.text,
      subtitle = props.subtitle;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "vtx-modal-header-title"
  }, /*#__PURE__*/_react["default"].createElement("span", {
    className: "vtx-modal-header-text"
  }, text), subtitle && /*#__PURE__*/_react["default"].createElement("span", {
    className: "vtx-modal-header-subtitle"
  }, subtitle));
}

Title.propTypes = {
  text: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].node]),
  subtitle: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].node])
};
var _default = Title;
exports["default"] = _default;
//# sourceMappingURL=Title.js.map
