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 EditModal from "../Resources/EditModal"; const MenuListing = (props) => { const type = props.type == "hotel" ? "сместувањето" : props.type == "restaurant" ? "ресторанот" : "превозот"; console.log(props.data) return(<> {e.preventDefault(); props.showModal(props.data); console.log("kliknav")} } style={{textDecoration: "none", color:"black"}}>

{props.data.name}

{props.data.ingredients}
Цена:

{props.data.price}$

) } export default MenuListing;