fix(connectionline): set stroke color

This commit is contained in:
moklick
2020-05-11 17:49:07 +02:00
parent 9e534f83ff
commit 7a2bff2502
8 changed files with 35 additions and 29 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import React, { memo, SVGAttributes } from 'react';
import React, { memo, CSSProperties } from 'react';
import { useStoreState } from '../../store/hooks';
import ConnectionLine from '../../components/ConnectionLine/index';
@@ -9,7 +9,7 @@ interface EdgeRendererProps {
width: number;
height: number;
edgeTypes: any;
connectionLineStyle?: SVGAttributes<{}>;
connectionLineStyle?: CSSProperties;
connectionLineType?: string;
onElementClick?: () => void;
}