UNPKG

@skillpet/circuit

Version:

Circuit diagram library — render electrical schematics from JSON, with interactive SVG, themes, and Vue/React components

25 lines (24 loc) 741 B
/** * Misc elements — aligned with Python `elements/misc.py`. */ import { Element } from "../element.js"; import { Element2Term } from "../element2term.js"; export declare class Speaker extends Element { constructor(userParams?: Record<string, unknown>); } export declare class Mic extends Element { constructor(userParams?: Record<string, unknown>); } export declare class Motor extends Element2Term { constructor(userParams?: Record<string, unknown>); } export declare class AudioJack extends Element { constructor(userParams?: Record<string, unknown> & { radius?: number; ring?: boolean; ringswitch?: boolean; dots?: boolean; switch?: boolean; open?: boolean; }); }