import { FaBed, FaBath, FaRulerCombined, FaTimes, FaCheck, FaMapMarker, } from 'react-icons/fa'; import PropertyMap from '@/components/PropertyMap'; const PropertyDetails = ({ property }) => { return (
{property.type}

{property.name}

{property.location.street}, {property.location.city}{' '} {property.location.state}

Rates & Options

Nightly
{property.rates.nightly ? ( `$${property.rates.nightly.toLocaleString()}` ) : ( )}
Weekly
{property.rates.weekly ? ( `$${property.rates.weekly.toLocaleString()}` ) : ( )}
Monthly
{property.rates.monthly ? ( `$${property.rates.monthly.toLocaleString()}` ) : ( )}

Description & Details

{property.beds}{' '} Beds

{property.baths}{' '} Baths

{property.square_feet}{' '} sqft

{property.description}

Amenities

); }; export default PropertyDetails;