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
dist/index.js
PCB
Schematic
var index = () => (React.createElement("board", { width: "10mm", height: "10mm" },
React.createElement("resistor", { resistance: "1k", footprint: "0402", name: "R1" }),
React.createElement("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C1" }),
React.createElement("trace", { from: ".R1 > .pin1", to: ".C1 > .pin1" })));
export { index as default };