chore(base-edge): label coords optional

This commit is contained in:
moklick
2022-12-15 17:30:35 +01:00
parent 7ef2910808
commit eaaf4f6d08
+2 -2
View File
@@ -117,8 +117,8 @@ export type EdgeProps<T = any> = Pick<
export type BaseEdgeProps = Pick<EdgeProps, 'style' | 'markerStart' | 'markerEnd' | 'interactionWidth'> &
EdgeLabelOptions & {
labelX: number;
labelY: number;
labelX?: number;
labelY?: number;
path: string;
};