mirror of
https://github.com/danilt2000/Alma-vid.git
synced 2026-02-04 17:54:12 +02:00
Init project
This commit is contained in:
16
src/components/Object/Object.jsx
Normal file
16
src/components/Object/Object.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import './Object.scss';
|
||||
|
||||
function Object(props) {
|
||||
return (
|
||||
<div className="item">
|
||||
<img className="item__image" src={props.image} alt="квартира" />
|
||||
<div className="item__info font-inter-bold">
|
||||
<p className="item__price">{props.price}</p>
|
||||
<p className="item__desc">{props.desc}</p>
|
||||
<p className="item__address font-inter-regular">{props.address}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export { Object };
|
||||
Reference in New Issue
Block a user