target arrows

This commit is contained in:
ntr
2019-05-05 14:33:19 +10:00
parent 732ddcb025
commit 648311cdcf
2 changed files with 10 additions and 1 deletions
@@ -36,6 +36,9 @@ function TargetSvg(args) {
L150,${sourceY}
C150,${sourceY} 150,${targetY} 150,${targetY}
L0,${targetY}
L50,${targetY - 4}
M0,${targetY}
L50,${targetY + 4}
`;
return <path d={path} />;
@@ -46,6 +49,9 @@ function TargetSvg(args) {
L${curveStart},${sourceY}
C${curveEnd},${sourceY} ${curveStart},${targetY} ${curveEnd},${targetY}
L900,${targetY}
L850,${targetY - 4}
M900,${targetY}
L850,${targetY + 4}
`;
return <path d={path} />;