Last change
on this file since efaa053 was e6c2521, checked in by darsov2 <62809499+darsov2@…>, 9 months ago |
images upload/download impl, other fixes
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[e6c2521] | 1 | import {Col, Container, Image, Row} from "react-bootstrap";
|
---|
| 2 | import React from "react";
|
---|
| 3 | import { LuFan } from "react-icons/lu";
|
---|
| 4 | import { TbToolsKitchen2 } from "react-icons/tb"
|
---|
| 5 | import { MdBalcony } from "react-icons/md"
|
---|
| 6 |
|
---|
| 7 | const 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 |
|
---|
| 38 | export default Table;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.