lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
24 lines (23 loc) • 517 B
TypeScript
import React from "react";
interface Node {
id: string;
content: React.ReactNode;
position: {
x: number;
y: number;
};
}
interface Connection {
from: string;
to: string;
direction?: "horizontal" | "vertical";
}
interface ConnectionGraphProps {
nodes: Node[];
connections: Connection[];
beamColor?: string;
beamDuration?: number;
className?: string;
}
export declare const ConnectionGraph: React.FC<ConnectionGraphProps>;
export default ConnectionGraph;