refactor(base-edge): pass id to base edge path

This commit is contained in:
moklick
2023-05-10 12:32:25 +02:00
parent e21531b173
commit a72ab2f2dc
4 changed files with 7 additions and 5 deletions
@@ -3,6 +3,7 @@ import { isNumeric } from '../../utils';
import type { BaseEdgeProps } from '../../types';
const BaseEdge = ({
id,
path,
labelX,
labelY,
@@ -20,6 +21,7 @@ const BaseEdge = ({
return (
<>
<path
id={id}
style={style}
d={path}
fill="none"