imrishabh18/test-user-code

A 10mm x 10mm PCB with a 1kΩ resistor (R1) and a 1000pF capacitor (C1) connected in series.

Usage: To import and use the component: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/AUTHOR.PACKAGE_NAME" ``` 2. Use the component in a circuit design: ```tsx <SomeComponent name="U1" // Provide a unique name // Optional: Add additional layout props /> ``` Key points: - Specify a unique `name` when placing the component - Can optionally add other common layout properties - Place within a `<board>` component - Use `sel` selector for connecting traces to specific pins

Version
0.0.1
License
unset
Stars
0

dist/index.cjs

PCBPCB preview for dist/index.cjs
SchematicSchematic preview for dist/index.cjs
'use strict';

var jsxRuntime = require('react/jsx-runtime');

var index = () => (jsxRuntime.jsxs("board", { width: "10mm", height: "10mm", children: [jsxRuntime.jsx("resistor", { resistance: "1k", footprint: "0402", name: "R1" }), jsxRuntime.jsx("capacitor", { capacitance: "1000pF", footprint: "0402", name: "C1" }), jsxRuntime.jsx("trace", { from: ".R1 > .pin1", to: ".C1 > .pin1" })] }));

module.exports = index;