@thetechcompany/react-flow-renderer
Version:
``` npm install react-flow-renderer ```
18 lines (17 loc) • 672 B
TypeScript
import React, { CSSProperties } from 'react';
import { Edge, Node, ConnectionLineType, ConnectionLineComponent } from '../../types';
interface EdgeRendererProps {
edgeTypes: any;
connectionLineType: ConnectionLineType;
connectionLineStyle?: CSSProperties;
onElementClick?: (event: React.MouseEvent, element: Node | Edge) => void;
arrowHeadColor: string;
markerEndId?: string;
connectionLineComponent?: ConnectionLineComponent;
onlyRenderVisibleElements: boolean;
}
declare const _default: React.MemoExoticComponent<{
(props: EdgeRendererProps): JSX.Element | null;
displayName: string;
}>;
export default _default;