import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
import React from 'react';
import { HeaderComponent } from '../Common/HeaderComponent';
export var Header = (_ref) => {
  var {
    tag = 'h2',
    content,
    className = ''
  } = _ref,
      rest = _objectWithoutPropertiesLoose(_ref, ["tag", "content", "className"]);

  return /*#__PURE__*/React.createElement(HeaderComponent, _extends({
    data: content,
    as: tag,
    className: className
  }, rest));
};
//# sourceMappingURL=header.component.js.map