imrishabh18/test-proj
This code defines a simple electronic circuit with a 1kΩ resistor and a 1000pF capacitor connected in series on a PCB.
Usage: To use the component in a project: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/AUTHOR.PACKAGE_NAME" ``` 2. Use the component in a circuit design: ```tsx <board> <SomeComponent name="U1" /> </board> ``` Key usage notes: - Provide a unique `name` when placing the component - Can specify additional layout props - Pins can be referenced using `sel.U1.PINNAME` in traces
- Version
- 1.0.0
- License
- unset
- Stars
- 0
dist/index.js
PCB
Schematic
import { jsxs, jsx } from 'react/jsx-runtime';
var index = () => (jsxs("board", { children: [jsx("resistor", { resistance: "1k", footprint: "0402", name: "R1", schX: 3, pcbX: 3 }), jsx("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C1", schX: -3, pcbX: -3 }), jsx("trace", { from: ".R1 > .pin1", to: ".C1 > .pin1" })] }));
export { index as default };