import React from 'react';
import './styles/CardSmallApartament.css';

const CardSmallApartament = function (props) {
    return (
        <div className="viewedElem">
            <img src="/images/apartment.png" alt=""></img>
            <p>{props.results.perimetrs} м², {props.results.rooms}-х комнатная</p>
            <h3>{props.results.price}₽ / мес.</h3>
            <p>{props.results.address}</p>
        </div>
    );
}

export default CardSmallApartament;