removed svg props from straight edge

This commit is contained in:
peterkogo
2024-12-04 11:17:00 +01:00
parent 3526963f0b
commit cf3bae57b1
+1 -2
View File
@@ -190,8 +190,7 @@ export type StepEdgeProps = EdgeComponentWithPathOptions<StepPathOptions>;
* StraightEdge component props * StraightEdge component props
* @public * @public
*/ */
export type StraightEdgeProps = SVGAttributes<SVGPathElement> & export type StraightEdgeProps = Omit<EdgeComponentProps, 'sourcePosition' | 'targetPosition'>;
Omit<EdgeComponentProps, 'sourcePosition' | 'targetPosition'>;
/** /**
* SimpleBezier component props * SimpleBezier component props