@tscircuit/debug-viewer
v1.0.10
Published
Debug tscircuit components and soup
Downloads
17
Readme
@tscircuit/debug-viewer
View a debug version of a schematic or PCB.
Usage
import { DebugViewer } from "@tscircuit/debug-viewer"
export const SchematicDebugView = () => (
<DebugViewer schematic>
<resistor footprint="0805" x={0} y={0} resistance="10ohm" />
</DebugViewer>
)
export const PCBDebugView = () => (
<DebugViewer pcb>
<resistor footprint="0805" x={0} y={0} resistance="10ohm" />
</DebugViewer>
)