imrishabh18/krt-wasm

This code defines a 10mm x 10mm PCB with a 1kΩ resistor (0402 footprint), a 1000pF capacitor (0402 footprint), and a trace connecting their first pins.

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", autorouter: "krt", children: [jsx("resistor", { resistance: "1k", footprint: "0402", name: "R1" }), jsx("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C1" }), jsx("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C2" }), jsx("trace", { from: ".R1 > .pin1", to: ".C1 > .pin1" }), jsx("trace", { from: ".R1 > .pin1", to: ".C2 > .pin1" })] }));

export { index as default };