import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _excluded = ["children", "autoHeight", "className"];
import * as React from 'react';
import classnames from 'classnames';

// This component is deprecated
var HeaderContent = function HeaderContent(_ref) {
  var children = _ref.children,
      autoHeight = _ref.autoHeight,
      className = _ref.className,
      props = _objectWithoutProperties(_ref, _excluded);

  var headerContentClass = classnames('sg-header__content', {
    'sg-header__content--auto-height': autoHeight
  }, className);
  return /*#__PURE__*/React.createElement("div", _extends({}, props, {
    className: headerContentClass
  }), children);
};

export default HeaderContent;