source: frontend/src/Components/MostVisited/Destination.js@ e9b4ba9

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

prototype

  • Property mode set to 100644
File size: 792 bytes
Line 
1import React from "react";
2import { Col, Container, Row, Image } from "react-bootstrap";
3
4const Destination = (props) => {
5 return (
6 <>
7 <Container className="border py-2 rounded-3" style={{borderColor: "#1A5F7A", borderWidth: "3px"}}>
8 <Row>
9 <Col>
10 <Image
11 src={props.imag}
12 className="thumbnail rounded"
13 width={75}
14 height={75}
15 />
16 </Col>
17 <Col>
18 <h5 className="w-25">{props.destination}</h5>
19 </Col>
20 </Row>
21 </Container>
22 </>
23 )
24}
25
26export default Destination;
Note: See TracBrowser for help on using the repository browser.