"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

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

var _propTypes = _interopRequireDefault(require("prop-types"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var TravelHeading = function TravelHeading(props) {
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "travel--heading"
  }, /*#__PURE__*/_react["default"].createElement("h2", null, props.heading));
};

TravelHeading.propTypes = {
  heading: _propTypes["default"].string
};
var _default = TravelHeading;
exports["default"] = _default;