imrishabh18/test-build

This code defines a 10mm x 10mm PCB layout featuring a 1kΩ resistor and a 1000pF capacitor connected by a trace.

Usage: To import and use the component from "@tsci/imrishabh18.test-build": ```tsx import YourComponentName from "@tsci/imrishabh18.test-build" export default () => ( <board width="20mm" height="20mm"> <YourComponentName /> </board> ) ``` Key points: - Import the default export from the package - Place it directly within a `<board>` component - Configure board dimensions as needed

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