UNPKG

circuit-bricks

Version:

A modular, Lego-style SVG circuit component system for React (ALPHA - Not for production use)

16 lines 461 B
/** * WirePath Component * * Renders a wire connection between two component ports. */ import React from 'react'; import { Wire, ComponentInstance } from '../schemas/componentSchema'; export interface WirePathProps { wire: Wire; components: ComponentInstance[]; selected?: boolean; onClick?: (event: React.MouseEvent) => void; } declare const WirePath: React.FC<WirePathProps>; export default WirePath; //# sourceMappingURL=WirePath.d.ts.map