MustafaMulla29/pcb-notes

This code defines a 10mm-by-10mm electronic PCB layout featuring a top-layer etched note, text label, dimension arrow, red routing path, and a straight line.

Version
0.0.1
License
unset
Stars
0

dist/index.js

import { jsxs, jsx } from 'react/jsx-runtime';

var index = () => (jsxs("board", { width: "10mm", height: "10mm", children: [jsx("pcbnoterect", { height: "3", width: "5", strokeWidth: "0.05", color: "cyan" }), jsx("pcbnotetext", { text: "PCB Note", color: "" }), jsx("pcbnotedimension", { from: { x: -3, y: 2 }, to: { x: 3, y: 2 }, arrowSize: 0.8, fontSize: 1.5, color: "#ffffff" }), jsx("pcbnotepath", { strokeWidth: 0.3, color: "#ff0000", route: [
                { x: -5, y: 0 },
                { x: 0, y: 5 },
                { x: 5, y: 0 },
            ] }), jsx("pcbnoteline", { x1: -5, y1: 0, x2: 5, y2: 0, strokeWidth: 0.5, color: "#ff0000" })] }));

export { index as default };