ArnavK-09/232323

This code defines a small 10mm x 10mm electronic PCB with a 1kΩ resistor (R1) and a 1000pF capacitor (C1) connected by a trace.

Usage: To use the package "@tsci/ArnavK-09.232323" in a project: 1. Import the component: ```tsx import CircuitDesign from "@tsci/ArnavK-09.232323" ``` 2. Use the component in your circuit design: ```tsx export default () => ( <board> <CircuitDesign /> </board> ) ``` This will add the predefined circuit design (a 1k resistor and 1000pF capacitor connected by a trace) to your board.

Version
0.0.2
License
unset
Stars
0

dist/index.js

PCBPCB preview for dist/index.js
SchematicSchematic preview for dist/index.js
var index = () => /*#__PURE__*/React.createElement("board", {
  width: "10mm",
  height: "10mm"
}, /*#__PURE__*/React.createElement("resistor", {
  resistance: "1k",
  footprint: "0402",
  name: "R2"
}), /*#__PURE__*/React.createElement("capacitor", {
  capacitance: "1000pF",
  footprint: "0402",
  name: "C2"
}), /*#__PURE__*/React.createElement("trace", {
  from: ".R2 > .pin1",
  to: ".C2 > .pin1"
}));

export { index as default };