* 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
15 lines
631 B
TypeScript
15 lines
631 B
TypeScript
import { SVGAttributes } from 'react';
|
|
import { ElementId, Node, Transform } from '../../types';
|
|
interface ConnectionLineProps {
|
|
connectionSourceId: ElementId;
|
|
connectionPositionX: number;
|
|
connectionPositionY: number;
|
|
connectionLineType?: string | null;
|
|
nodes: Node[];
|
|
transform: Transform;
|
|
connectionLineStyle?: SVGAttributes<{}>;
|
|
className?: string;
|
|
}
|
|
declare const _default: ({ connectionSourceId, connectionLineStyle, connectionPositionX, connectionPositionY, connectionLineType, nodes, className, transform, }: ConnectionLineProps) => JSX.Element | null;
|
|
export default _default;
|