"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
require("./style");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function SubTitle(props) {
  var _useSettings = (0, _useSettings2["default"])(),
    theme = _useSettings.theme;
  var _props$title = props.title,
    title = _props$title === void 0 ? '基本信息' : _props$title;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "sub-title ".concat(theme)
  }, title);
}
var _default = SubTitle;
exports["default"] = _default;
//# sourceMappingURL=index.js.map
