
{cityName}
{countryLocation && (
{countryLocation.location}, {countryLocation.country}
)}
{ tags && (
{Object.entries(tags).map(([key, value], index) => (
{key.charAt(0).toUpperCase() + key.slice(1)} {/* Capitalizes the first letter of the key */}
{value}
))}
)}
{countryDesc && (
Description
{countryDesc}
{countryDesc.length > 100 && (
{showFullDesc ? 'Read Less' : 'Read More'}
)}
)}
{/* Itinerary */}
{itinerary.length > 0 && (
Itinerary For You
{itinerary.map((rowData, index) => (
))}
)}
Book Now
Подробнее здесь: https://stackoverflow.com/questions/792 ... nd-content