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.cjs
'use strict';
var jsxRuntime = require('react/jsx-runtime');
var index = () => (jsxRuntime.jsxs("board", { width: "10mm", height: "10mm", children: [jsxRuntime.jsx("pcbnoterect", { height: "3", width: "5", strokeWidth: "0.05", color: "cyan" }), jsxRuntime.jsx("pcbnotetext", { text: "PCB Note", color: "" }), jsxRuntime.jsx("pcbnotedimension", { from: { x: -3, y: 2 }, to: { x: 3, y: 2 }, arrowSize: 0.8, fontSize: 1.5, color: "#ffffff" }), jsxRuntime.jsx("pcbnotepath", { strokeWidth: 0.3, color: "#ff0000", route: [
{ x: -5, y: 0 },
{ x: 0, y: 5 },
{ x: 5, y: 0 },
] }), jsxRuntime.jsx("pcbnoteline", { x1: -5, y1: 0, x2: 5, y2: 0, strokeWidth: 0.5, color: "#ff0000" })] }));
module.exports = index;