dopamide/test
This code defines a 10mm x 10mm PCB with a 1kΩ resistor and a 1000pF capacitor connected in series.
Usage: To use the "@tsci/dopamide.test" package in a project: 1. Import the component: ```tsx import Circuit from "@tsci/dopamide.test" ``` 2. Use the component in your React application: ```tsx function App() { return <Circuit /> } ``` The example demonstrates a basic circuit with a resistor and capacitor connected by a trace, which can be directly rendered in a tscircuit-compatible environment.
- Version
- 0.0.1
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone dopamide/test # download the package files into ./test
tsci add dopamide/test # add it to your project as @tsci/dopamide.testIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
dist/index.d.ts
PCB
Schematic
import * as react from 'react';
declare const _default: () => any;
export { _default as default };