@tscircuit/props 0.0.548 → 0.0.550

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
22
22
 
23
23
  | Component | Props Interface |
24
24
  | ------------------------------ | ------------------------------------------------------------------------------------------ |
25
+ | `<ammeter />` | [`AmmeterProps`](#ammeterprops-ammeter) |
25
26
  | `<analogsimulation />` | [`AnalogSimulationProps`](#analogsimulationprops-analogsimulation) |
26
27
  | `<autoroutingphase />` | [`AutoroutingPhaseProps`](#autoroutingphaseprops-autoroutingphase) |
27
28
  | `<battery />` | [`BatteryProps`](#batteryprops-battery) |
@@ -201,6 +202,20 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
201
202
 
202
203
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/group.ts)
203
204
 
205
+ ### AmmeterProps `<ammeter />`
206
+
207
+ ```ts
208
+ export interface AmmeterProps<
209
+ PinLabel extends string = string,
210
+ > extends CommonComponentProps<PinLabel> {
211
+ connections: Connections<AmmeterPinLabels>;
212
+ color?: string;
213
+ display?: AmmeterDisplayOptions;
214
+ }
215
+ ```
216
+
217
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/ammeter.ts)
218
+
204
219
  ### AnalogSimulationProps `<analogsimulation />`
205
220
 
206
221
  ```ts