"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

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

var _classnames = _interopRequireDefault(require("classnames"));

var _constants = require("../../constants");

var _Heading = _interopRequireDefault(require("../Heading"));

// Copyright 1999-2020. Plesk International GmbH. All rights reserved.

/**
 * `ExtendedStatusMessageTitle` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
 * @since 0.0.35
 */
const ExtendedStatusMessageTitle = ({
  baseClassName = `${_constants.CLS_PREFIX}extended-status-message`,
  className,
  children,
  ...props
}) => /*#__PURE__*/_react.default.createElement(_Heading.default, (0, _extends2.default)({
  level: 3,
  className: (0, _classnames.default)(`${baseClassName}__title`, className)
}, props), children);

var _default = ExtendedStatusMessageTitle;
exports.default = _default;