import React from "react"; import {useState} from "react"; import {Col, Container, Row, Image, Modal, Button} from "react-bootstrap"; import LoginForm from "../Login/LoginForm"; import ChangePasswordForm from "../Forms/ChangePasswordForm"; import {AiOutlinePlusCircle} from "react-icons/ai" import AddAvailability from "../Resources/AddAvailability"; import AddImages from "../Resources/AddImages"; const RoomListing = (props) => { const type = props.type == "hotel" ? "сместувањето" : props.type == "restaurant" ? "ресторанот" : "превозот"; return ( <> { e.preventDefault(); props.showModal(props.data); console.log("kliknav") }} src="https://img.freepik.com/free-photo/luxury-classic-modern-bedroom-suite-hotel_105762-1787.jpg?w=200" style={{ height: "8em", borderRadius: "1em", boxShadow: "0 4px 20px lightblue", maxWidth: "100%", }} >

{props.data.hotelRoomName}

Цена по ноќ: {props.data.price}

) } export default RoomListing;