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, { useMemo, SVGAttributes, HTMLAttributes } from 'react';
import React, { useMemo, CSSProperties, HTMLAttributes } from 'react';
import { StoreProvider } from 'easy-peasy';
const nodeEnv: string = process.env.NODE_ENV as string;
@@ -33,7 +33,7 @@ export interface ReactFlowProps extends Omit<HTMLAttributes<HTMLDivElement>, 'on
nodeTypes: NodeTypesType;
edgeTypes: EdgeTypesType;
connectionLineType: string;
connectionLineStyle: SVGAttributes<{}>;
connectionLineStyle: CSSProperties;
deleteKeyCode: number;
selectionKeyCode: number;
showBackground: boolean;