dopamide-org/dam
This code models a 10mm x 10mm PCB with a 1kΩ resistor and a 1000pF capacitor connected via a trace.
Usage: To import and use this package: 1. Import the component: ```tsx import SomeComponent from "@tsci/dopamide.dam" ``` 2. Use the component in a board or circuit layout: ```tsx <board width="10mm" height="10mm"> <SomeComponent name="U1" /> {/* Additional components and traces */} </board> ``` The component appears to be a pre-configured circuit layout that can be easily added to a board design.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
dist/index.js
PCB
Schematic
import { jsxs, jsx } from 'react/jsx-runtime';
var index = () => (jsxs("board", { width: "10mm", height: "10mm", children: [jsx("resistor", { resistance: "1k", footprint: "0402", name: "R1" }), jsx("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C1" }), jsx("trace", { from: ".R1 > .pin1", to: ".C1 > .pin1" })] }));
export { index as default };