import React from 'react';
import PropTypes from 'prop-types';
const TravelWhyBookBlock = (props)=> {
    return (
        <div className="why-book__list__block">
            <div className="why-book__list__block__img">
                <img src={  props.img } />
            </div>
            <div className="why-book__list__block__title">
                <h4>{ props.title }</h4>
            </div>
        </div>
    )
}

TravelWhyBookBlock.propTypes = {
    img: PropTypes.string
};

export default TravelWhyBookBlock;