"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 TravelWhyBookBlock = function TravelWhyBookBlock(props) {
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "why-book__list__block"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "why-book__list__block__img"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: props.img
  })), /*#__PURE__*/_react["default"].createElement("div", {
    className: "why-book__list__block__title"
  }, /*#__PURE__*/_react["default"].createElement("h4", null, props.title)));
};

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