imrishabh18/mug-led

This code models a 10mm by 10mm electronic board with a 1kΩ resistor and a 1000pF capacitor interconnected by a conductive trace.

Usage: To import and use the "@tsci/imrishabh18.mug-led" package in a project: 1. Import the package in your TSX file: ```tsx import MugLedBoard from "@tsci/imrishabh18.mug-led" ``` 2. Use the component in your circuit: ```tsx export default () => ( <board> <MugLedBoard /> </board> ) ``` The package contains a pre-configured board with a resistor, capacitor, and a trace connecting their first pins.

Version
0.0.1
License
unset
Stars
0

index.tsx

PCBPCB preview for index.tsx
SchematicSchematic preview for index.tsx
export default () => (
  <board width="10mm" height="10mm">
    <resistor
      resistance="1k"
      footprint="0402"
      name="R1"
    />
    <capacitor
      capacitance="1000pF"
      footprint="0402"
      name="C1"
    />
    <trace from=".R1 > .pin1" to=".C1 > .pin1" />
  </board>
)