* fix(ts): use strict mode strictNullChecks etc * chore: Use extended React.HTMLAttributes<> (#41) * refactor(code-format): add prettier closes #42 * feat(renderer): add snap to grid option closes #20 * chore(dependabot): use develop as target branch
12 lines
455 B
TypeScript
12 lines
455 B
TypeScript
import React, { SVGAttributes } from 'react';
|
|
interface EdgeRendererProps {
|
|
width: number;
|
|
height: number;
|
|
edgeTypes: any;
|
|
connectionLineStyle?: SVGAttributes<{}>;
|
|
connectionLineType?: string;
|
|
onElementClick?: () => void;
|
|
}
|
|
declare const EdgeRenderer: React.MemoExoticComponent<({ width, height, connectionLineStyle, connectionLineType, ...rest }: EdgeRendererProps) => JSX.Element | null>;
|
|
export default EdgeRenderer;
|