Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineTo only drawing a horizontal line #51

Open
dhebert-dev opened this issue Jul 9, 2021 · 0 comments
Open

LineTo only drawing a horizontal line #51

dhebert-dev opened this issue Jul 9, 2021 · 0 comments

Comments

@dhebert-dev
Copy link

When I place LineTo into my React app and set the to and from it will only render a horizontal line rather than rendering it from a specified location to a specified location. In addition, I am unable to change the color of the line by saying borderColor="red" inside the LineTo tag. Code below

div className="a"> <p className="date">{x.date}</p> </div> <LineTo delay={0} from="a" to="b" fromAnchor="bottom center" toAnchor="center" borderColor="red" orientation="v" /> <div className="b"> <p className="time"> <span id="time" style={{ marginRight: "0.75rem" }}> {x.time} </span> </p> </div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant