@tscircuit/props 0.0.437 → 0.0.438

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
@@ -39,6 +39,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
39
39
  | `<courtyardoutline />` | [`CourtyardOutlineProps`](#courtyardoutlineprops-courtyardoutline) |
40
40
  | `<courtyardrect />` | [`CourtyardRectProps`](#courtyardrectprops-courtyardrect) |
41
41
  | `<crystal />` | [`CrystalProps`](#crystalprops-crystal) |
42
+ | `<currentsource />` | [`CurrentSourceProps`](#currentsourceprops-currentsource) |
42
43
  | `<cutout />` | [`RectCutoutProps`](#rectcutoutprops-cutout) |
43
44
  | `<diode />` | [`DiodeProps`](#diodeprops-diode) |
44
45
  | `<fabricationnotedimension />` | [`FabricationNoteDimensionProps`](#fabricationnotedimensionprops-fabricationnotedimension) |
@@ -496,6 +497,24 @@ export interface CrystalProps<
496
497
 
497
498
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/crystal.ts)
498
499
 
500
+ ### CurrentSourceProps `<currentsource />`
501
+
502
+ ```ts
503
+ export interface CurrentSourceProps<
504
+ PinLabel extends string = string,
505
+ > extends CommonComponentProps<PinLabel> {
506
+ current?: number | string;
507
+ frequency?: number | string;
508
+ peakToPeakCurrent?: number | string;
509
+ waveShape?: WaveShape;
510
+ phase?: number | string;
511
+ dutyCycle?: number | string;
512
+ connections?: Connections<CurrentSourcePinLabels>;
513
+ }
514
+ ```
515
+
516
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/currentsource.ts)
517
+
499
518
  ### RectCutoutProps `<cutout />`
500
519
 
501
520
  ```ts