Skip to content

LineTo only drawing a horizontal line #51

@dhebert-dev

Description

@dhebert-dev

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions