We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
endShape
ArcherContainer
The following code gives this
If we remove endShape=..., it gives this result instead:
endShape=...
import React from "react"; import logo from "./logo.svg"; import "./App.css"; import { ArcherContainer, ArcherElement } from "react-archer"; function App() { return ( <div className="App"> <header className="App-header"> <ArcherContainer strokeColor="yellow" endShape={{ circle: { radius: 2 } }} > <div style={{ display: "flex" }}> <ArcherElement id="first"> <div>first</div> </ArcherElement> <ArcherElement id="second" relations={[ { targetId: "first", targetAnchor: "right", sourceAnchor: "left" } ]} > <div style={{ marginLeft: 100 }}>second</div> </ArcherElement> </div> </ArcherContainer> </header> </div> ); } export default App;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code gives this
If we remove
endShape=...
, it gives this result instead:The text was updated successfully, but these errors were encountered: