test-1/fasdfsda

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

Usage: For "@tsci/test-1.fasdfsda", here's how to import and use the component: ```tsx import { default as CircuitDefinition } from "@tsci/test-1.fasdfsda" export default () => ( <board> <CircuitDefinition /> </board> ) ``` Key points: - Import the default export - Can be directly placed inside a `<board>` component - The imported circuit includes a resistor and capacitor with a trace connecting them

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>
)