feat: accept any path element attribute as a prop

This commit is contained in:
Matt Huggins
2024-11-28 17:18:01 -06:00
parent 616d266523
commit 23b3fb64c5
6 changed files with 16 additions and 7 deletions
@@ -20,10 +20,12 @@ export function BaseEdge({
markerStart,
className,
interactionWidth = 20,
...props
}: BaseEdgeProps) {
return (
<>
<path
{...props}
id={id}
style={style}
d={path}