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

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

  var headerClass = classnames('sg-header', {
    'sg-header--fixed': fixed,
    'sg-header--with-divider': withDivider
  }, className);
  return /*#__PURE__*/React.createElement("header", _extends({}, props, {
    className: headerClass
  }), children);
};

export default Header;