Last change
on this file since ac19a0c was e9b4ba9, checked in by darsov2 <62809499+darsov2@…>, 9 months ago |
prototype
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[e9b4ba9] | 1 | import React from "react";
|
---|
| 2 | import { Col, Container, Image, Row } from "react-bootstrap";
|
---|
| 3 | import { TbArrowsExchange } from "react-icons/tb"
|
---|
| 4 |
|
---|
| 5 | const Route = (props) => {
|
---|
| 6 | return (
|
---|
| 7 | <>
|
---|
| 8 | <Container className="border py-2 rounded-3" style={{borderColor: "#1A5F7A", borderWidth: "3px"}}>
|
---|
| 9 | <Row>
|
---|
| 10 | <Col>
|
---|
| 11 | <Image
|
---|
| 12 | src={props.imag1}
|
---|
| 13 | className="thumbnail rounded"
|
---|
| 14 | width={75}
|
---|
| 15 | height={75}
|
---|
| 16 | />
|
---|
| 17 | </Col>
|
---|
| 18 | <Col>
|
---|
| 19 | <h5 className="w-25">{props.destination1}</h5>
|
---|
| 20 | </Col>
|
---|
| 21 | <Col className="my-auto">
|
---|
| 22 | <TbArrowsExchange size="3rem" color="#159895"></TbArrowsExchange>
|
---|
| 23 | </Col>
|
---|
| 24 | <Col clas>
|
---|
| 25 | <h5 className="w-25">{props.destination2}</h5>
|
---|
| 26 | </Col>
|
---|
| 27 | <Col>
|
---|
| 28 | <Image
|
---|
| 29 | src={props.imag2}
|
---|
| 30 | className="thumbnail rounded"
|
---|
| 31 | width={75}
|
---|
| 32 | height={75}
|
---|
| 33 | />
|
---|
| 34 | </Col>
|
---|
| 35 | </Row>
|
---|
| 36 | </Container>
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | </>
|
---|
| 40 | )
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | export default Route; |
---|
Note:
See
TracBrowser
for help on using the repository browser.