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

index.tsx

PCBPCB preview for index.tsx
SchematicSchematic preview for index.tsx
export default () => (
  <board>
    <resistor resistance="1k" footprint="0402" name="R1" schX={3} pcbX={3} />
    <capacitor capacitance="1000pF" footprint="0402" name="C1" schX={-3} pcbX={-3} />
    <trace from=".R1 > .pin1" to=".C1 > .pin1" />
  </board>
)