"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.Header = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));

var _react = _interopRequireDefault(require("react"));

var _HeaderComponent = require("../Common/HeaderComponent");

var Header = function Header(_ref) {
  var _ref$tag = _ref.tag,
      tag = _ref$tag === void 0 ? 'h2' : _ref$tag,
      content = _ref.content,
      _ref$className = _ref.className,
      className = _ref$className === void 0 ? '' : _ref$className,
      rest = (0, _objectWithoutPropertiesLoose2["default"])(_ref, ["tag", "content", "className"]);
  return /*#__PURE__*/_react["default"].createElement(_HeaderComponent.HeaderComponent, (0, _extends2["default"])({
    data: content,
    as: tag,
    className: className
  }, rest));
};

exports.Header = Header;
//# sourceMappingURL=header.component.js.map