diff --git a/pairent_frontend_react/src/components/CardApartament/CardApartament.jsx b/pairent_frontend_react/src/components/CardApartament/CardApartament.jsx index 804d4d6..f44cc82 100644 --- a/pairent_frontend_react/src/components/CardApartament/CardApartament.jsx +++ b/pairent_frontend_react/src/components/CardApartament/CardApartament.jsx @@ -1,11 +1,29 @@ import React from 'react'; import './styles/CardApartament.css'; +/** + * + * @param {{ + * results: { + * perimetrs: string, + * rooms: string, + * address: string, + * floor: string, + * floorHouse: string, + * timeToBus: string, + * timeToTrain: string, + * price: string, + * description: string, + * dateCreate: string + * } + * }} props + * @returns + */ const CardApartament = function (props) { return (
- +

{props.results.perimetrs} м², {props.results.rooms}-х комнатная

{props.results.address}, {props.results.floor} этаж из {props.results.floorHouse}