ArnavK-09/untitled-package-31
This code defines a 10mm x 10mm PCB with a 1kΩ resistor (R1) and a 1000pF capacitor (C1) connected by a trace.
Usage: To use the component: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/ArnavK-09.untitled-package-31" ``` 2. Use the component in a circuit: ```tsx <board> <SomeComponent name="U1" /> </board> ``` The component can be placed on a board like other tscircuit components, with optional props for positioning and naming.
- Version
- 0.0.1
- License
- unset
- Stars
- 1
dist/index.cjs
PCB
Schematic
'use strict';
var index = () => /*#__PURE__*/React.createElement("board", {
widtfh: "10mm",
height: "10mm"
}, /*#__PURE__*/React.createElement("resistor", {
resistance: "1k",
footprint: "0402",
name: "R1"
}), /*#__PURE__*/React.createElement("capacitor", {
capacitance: "1000pF",
footprint: "0402",
name: "C1"
}), /*#__PURE__*/React.createElement("trace", {
from: ".R1 > .pin1",
to: ".C1 > .pin1"
}));
module.exports = index;