Last change
on this file since 5528b99 was 5528b99, checked in by darsov2 <62809499+darsov2@…>, 6 months ago |
revert
|
-
Property mode
set to
100644
|
File size:
465 bytes
|
Rev | Line | |
---|
[e6c2521] | 1 | import React from "react";
|
---|
| 2 |
|
---|
| 3 | const Line = (props) => {
|
---|
[5528b99] | 4 | console.log(props.left)
|
---|
| 5 | const left = props.left === "true" ? "9.08rem" : "2.6rem";
|
---|
| 6 | console.log({borderLeft: "5px solid #159895", height: "3em", marginLeft: left, marginTop: "-1.4rem", marginBottom: "-1.4rem"})
|
---|
[e6c2521] | 7 | return (<>
|
---|
| 8 | <div style={{borderLeft: "5px solid #159895", height: "3em", marginLeft: left, marginTop: "-1.4rem", marginBottom: "-1.4rem"}}></div>
|
---|
| 9 | </>)
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | export default Line; |
---|
Note:
See
TracBrowser
for help on using the repository browser.