import _extends from "@babel/runtime/helpers/extends";
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
import React from 'react';
import classNames from 'classnames';
import { CLS_PREFIX } from '../../constants';
import Heading from '../Heading';

/**
 * `ExtendedStatusMessageTitle` is a part of [ExtendedStatusMessage](#!/ExtendedStatusMessage) component.
 * @since 0.0.35
 */
const ExtendedStatusMessageTitle = ({
  baseClassName = `${CLS_PREFIX}extended-status-message`,
  className,
  children,
  ...props
}) => /*#__PURE__*/React.createElement(Heading, _extends({
  level: 3,
  className: classNames(`${baseClassName}__title`, className)
}, props), children);

export default ExtendedStatusMessageTitle;