source: frontend/src/Components/RestaurantDetails/Table.js@ 07f4e8b

Last change on this file since 07f4e8b was e6c2521, checked in by darsov2 <62809499+darsov2@…>, 6 months ago

images upload/download impl, other fixes

  • Property mode set to 100644
File size: 1.4 KB
Line 
1import {Col, Container, Image, Row} from "react-bootstrap";
2import React from "react";
3import { LuFan } from "react-icons/lu";
4import { TbToolsKitchen2 } from "react-icons/tb"
5import { MdBalcony } from "react-icons/md"
6
7const Table = (props) => {
8 return (
9 <>
10 <Container className="px-1 w-100">
11 <Row>
12 <Col className="d-flex justify-content-center">
13 <Image onClick={(e) => {
14 e.preventDefault();
15 console.log(props.data)
16 props.showModal(props.data)
17 }}
18 src="https://cdnimg.webstaurantstore.com/uploads/seo_category/2019/5/table-dining-sets.jpg"
19 style={{
20 height: "8em",
21 borderRadius: "1em",
22 boxShadow: "0 4px 20px lightblue",
23 maxWidth: "100%",
24 }}
25 ></Image>
26 </Col>
27 <Col className="d-flex flex-column justify-content-center" style={{textAlign: "left"}}>
28 <h3>Маса</h3>
29 <h3>Број на луѓе {props.data.noSeats}</h3>
30 </Col>
31
32 </Row>
33 </Container>
34 </>
35 );
36};
37
38export default Table;
Note: See TracBrowser for help on using the repository browser.