import _extends from "@babel/runtime/helpers/extends";
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { CLS_PREFIX } from '../../constants';
/**
 * `MediaSection` is a part of [Media](#!/Media) component.
 * @since 0.0.68
 */

const MediaSection = ({
  baseClassName,
  className,
  children,
  ...props
}) => /*#__PURE__*/React.createElement("div", _extends({
  className: classNames(baseClassName, className)
}, props), children);

MediaSection.propTypes = {
  /**
   * Content of the `MediaSection`.
   * @since 0.0.68
   */
  children: PropTypes.node,

  /**
   * @ignore
   */
  className: PropTypes.string,

  /**
   * @ignore
   */
  baseClassName: PropTypes.string
};
MediaSection.defaultProps = {
  children: null,
  className: null,
  baseClassName: `${CLS_PREFIX}media-section`
};
export default MediaSection;