@tscircuit/props 0.0.357 → 0.0.359
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 +305 -48
- package/dist/index.d.ts +567 -563
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,53 +20,80 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
20
20
|
|
|
21
21
|
## Available Components
|
|
22
22
|
|
|
23
|
-
| Component
|
|
24
|
-
|
|
|
25
|
-
| `<analogsimulation />`
|
|
26
|
-
| `<battery />`
|
|
27
|
-
| `<board />`
|
|
28
|
-
| `<breakout />`
|
|
29
|
-
| `<breakoutpoint />`
|
|
30
|
-
| `<cadassembly />`
|
|
31
|
-
| `<cadmodel />`
|
|
32
|
-
| `<capacitor />`
|
|
33
|
-
| `<chip />`
|
|
34
|
-
| `<connector />`
|
|
35
|
-
| `<constrainedlayout />`
|
|
36
|
-
| `<
|
|
37
|
-
| `<
|
|
38
|
-
| `<
|
|
39
|
-
| `<
|
|
40
|
-
| `<
|
|
41
|
-
| `<
|
|
42
|
-
| `<
|
|
43
|
-
| `<
|
|
44
|
-
| `<
|
|
45
|
-
| `<
|
|
46
|
-
| `<
|
|
47
|
-
| `<
|
|
48
|
-
| `<
|
|
49
|
-
| `<
|
|
50
|
-
| `<
|
|
51
|
-
| `<
|
|
52
|
-
| `<
|
|
53
|
-
| `<
|
|
54
|
-
| `<
|
|
55
|
-
| `<
|
|
56
|
-
| `<
|
|
57
|
-
| `<
|
|
58
|
-
| `<
|
|
59
|
-
| `<
|
|
60
|
-
| `<
|
|
61
|
-
| `<
|
|
62
|
-
| `<
|
|
63
|
-
| `<
|
|
64
|
-
| `<
|
|
65
|
-
| `<
|
|
66
|
-
| `<
|
|
67
|
-
| `<
|
|
68
|
-
| `<
|
|
69
|
-
| `<
|
|
23
|
+
| Component | Props Interface |
|
|
24
|
+
| ------------------------- | --------------------------------------------------------------------------- |
|
|
25
|
+
| `<analogsimulation />` | [`AnalogSimulationProps`](#analogsimulationprops-analogsimulation) |
|
|
26
|
+
| `<battery />` | [`BatteryProps`](#batteryprops-battery) |
|
|
27
|
+
| `<board />` | [`BoardProps`](#boardprops-board) |
|
|
28
|
+
| `<breakout />` | [`BreakoutProps`](#breakoutprops-breakout) |
|
|
29
|
+
| `<breakoutpoint />` | [`BreakoutPointProps`](#breakoutpointprops-breakoutpoint) |
|
|
30
|
+
| `<cadassembly />` | [`CadAssemblyProps`](#cadassemblyprops-cadassembly) |
|
|
31
|
+
| `<cadmodel />` | [`CadModelProps`](#cadmodelprops-cadmodel) |
|
|
32
|
+
| `<capacitor />` | [`CapacitorProps`](#capacitorprops-capacitor) |
|
|
33
|
+
| `<chip />` | [`ChipProps`](#chipprops-chip) |
|
|
34
|
+
| `<connector />` | [`ConnectorProps`](#connectorprops-connector) |
|
|
35
|
+
| `<constrainedlayout />` | [`ConstrainedLayoutProps`](#constrainedlayoutprops-constrainedlayout) |
|
|
36
|
+
| `<constraint />` | [`ConstraintProps`](#constraintprops-constraint) |
|
|
37
|
+
| `<copperpour />` | [`CopperPourProps`](#copperpourprops-copperpour) |
|
|
38
|
+
| `<courtyardoutline />` | [`CourtyardOutlineProps`](#courtyardoutlineprops-courtyardoutline) |
|
|
39
|
+
| `<courtyardrect />` | [`CourtyardRectProps`](#courtyardrectprops-courtyardrect) |
|
|
40
|
+
| `<crystal />` | [`CrystalProps`](#crystalprops-crystal) |
|
|
41
|
+
| `<cutout />` | [`RectCutoutProps`](#rectcutoutprops-cutout) |
|
|
42
|
+
| `<diode />` | [`DiodeProps`](#diodeprops-diode) |
|
|
43
|
+
| `<fabricationnotepath />` | [`FabricationNotePathProps`](#fabricationnotepathprops-fabricationnotepath) |
|
|
44
|
+
| `<fabricationnoterect />` | [`FabricationNoteRectProps`](#fabricationnoterectprops-fabricationnoterect) |
|
|
45
|
+
| `<fabricationnotetext />` | [`FabricationNoteTextProps`](#fabricationnotetextprops-fabricationnotetext) |
|
|
46
|
+
| `<footprint />` | [`FootprintProps`](#footprintprops-footprint) |
|
|
47
|
+
| `<fuse />` | [`FuseProps`](#fuseprops-fuse) |
|
|
48
|
+
| `<group />` | [`BaseGroupProps`](#basegroupprops-group) |
|
|
49
|
+
| `<hole />` | [`CircleHoleProps`](#circleholeprops-hole) |
|
|
50
|
+
| `<inductor />` | [`InductorProps`](#inductorprops-inductor) |
|
|
51
|
+
| `<jumper />` | [`JumperProps`](#jumperprops-jumper) |
|
|
52
|
+
| `<led />` | [`LedProps`](#ledprops-led) |
|
|
53
|
+
| `<mosfet />` | [`MosfetProps`](#mosfetprops-mosfet) |
|
|
54
|
+
| `<net />` | [`NetProps`](#netprops-net) |
|
|
55
|
+
| `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
|
|
56
|
+
| `<netlabel />` | [`NetLabelProps`](#netlabelprops-netlabel) |
|
|
57
|
+
| `<pcbkeepout />` | [`PcbKeepoutProps`](#pcbkeepoutprops-pcbkeepout) |
|
|
58
|
+
| `<pcbtrace />` | [`PcbTraceProps`](#pcbtraceprops-pcbtrace) |
|
|
59
|
+
| `<pinheader />` | [`PinHeaderProps`](#pinheaderprops-pinheader) |
|
|
60
|
+
| `<pinout />` | [`PinoutProps`](#pinoutprops-pinout) |
|
|
61
|
+
| `<platedhole />` | [`CirclePlatedHoleProps`](#circleplatedholeprops-platedhole) |
|
|
62
|
+
| `<port />` | [`PortProps`](#portprops-port) |
|
|
63
|
+
| `<potentiometer />` | [`PotentiometerProps`](#potentiometerprops-potentiometer) |
|
|
64
|
+
| `<powersource />` | [`PowerSourceProps`](#powersourceprops-powersource) |
|
|
65
|
+
| `<pushbutton />` | [`PushButtonProps`](#pushbuttonprops-pushbutton) |
|
|
66
|
+
| `<resistor />` | [`ResistorProps`](#resistorprops-resistor) |
|
|
67
|
+
| `<resonator />` | [`ResonatorProps`](#resonatorprops-resonator) |
|
|
68
|
+
| `<schematicarc />` | [`SchematicArcProps`](#schematicarcprops-schematicarc) |
|
|
69
|
+
| `<schematicbox />` | [`SchematicBoxProps`](#schematicboxprops-schematicbox) |
|
|
70
|
+
| `<schematiccell />` | [`SchematicCellProps`](#schematiccellprops-schematiccell) |
|
|
71
|
+
| `<schematiccircle />` | [`SchematicCircleProps`](#schematiccircleprops-schematiccircle) |
|
|
72
|
+
| `<schematicline />` | [`SchematicLineProps`](#schematiclineprops-schematicline) |
|
|
73
|
+
| `<schematicpath />` | [`SchematicPathProps`](#schematicpathprops-schematicpath) |
|
|
74
|
+
| `<schematicrect />` | [`SchematicRectProps`](#schematicrectprops-schematicrect) |
|
|
75
|
+
| `<schematicrow />` | [`SchematicRowProps`](#schematicrowprops-schematicrow) |
|
|
76
|
+
| `<schematictable />` | [`SchematicTableProps`](#schematictableprops-schematictable) |
|
|
77
|
+
| `<schematictext />` | [`SchematicTextProps`](#schematictextprops-schematictext) |
|
|
78
|
+
| `<silkscreencircle />` | [`SilkscreenCircleProps`](#silkscreencircleprops-silkscreencircle) |
|
|
79
|
+
| `<silkscreenline />` | [`SilkscreenLineProps`](#silkscreenlineprops-silkscreenline) |
|
|
80
|
+
| `<silkscreenpath />` | [`SilkscreenPathProps`](#silkscreenpathprops-silkscreenpath) |
|
|
81
|
+
| `<silkscreenrect />` | [`SilkscreenRectProps`](#silkscreenrectprops-silkscreenrect) |
|
|
82
|
+
| `<silkscreentext />` | [`SilkscreenTextProps`](#silkscreentextprops-silkscreentext) |
|
|
83
|
+
| `<smtpad />` | [`RectSmtPadProps`](#rectsmtpadprops-smtpad) |
|
|
84
|
+
| `<solderjumper />` | [`SolderJumperProps`](#solderjumperprops-solderjumper) |
|
|
85
|
+
| `<solderpaste />` | [`RectSolderPasteProps`](#rectsolderpasteprops-solderpaste) |
|
|
86
|
+
| `<stampboard />` | [`StampboardProps`](#stampboardprops-stampboard) |
|
|
87
|
+
| `<subcircuit />` | [`SubcircuitProps`](#subcircuitprops-subcircuit) |
|
|
88
|
+
| `<switch />` | [`SwitchProps`](#switchprops-switch) |
|
|
89
|
+
| `<symbol />` | [`SymbolProps`](#symbolprops-symbol) |
|
|
90
|
+
| `<testpoint />` | [`TestpointProps`](#testpointprops-testpoint) |
|
|
91
|
+
| `<trace />` | [`TraceProps`](#traceprops-trace) |
|
|
92
|
+
| `<tracehint />` | [`TraceHintProps`](#tracehintprops-tracehint) |
|
|
93
|
+
| `<transistor />` | [`TransistorProps`](#transistorprops-transistor) |
|
|
94
|
+
| `<via />` | [`ViaProps`](#viaprops-via) |
|
|
95
|
+
| `<voltageprobe />` | [`VoltageProbeProps`](#voltageprobeprops-voltageprobe) |
|
|
96
|
+
| `<voltagesource />` | [`VoltageSourceProps`](#voltagesourceprops-voltagesource) |
|
|
70
97
|
|
|
71
98
|
<!-- COMPONENT_TABLE_END -->
|
|
72
99
|
|
|
@@ -176,7 +203,8 @@ export interface BatteryProps<PinLabel extends string = string>
|
|
|
176
203
|
### BoardProps `<board />`
|
|
177
204
|
|
|
178
205
|
```ts
|
|
179
|
-
export interface BoardProps
|
|
206
|
+
export interface BoardProps
|
|
207
|
+
extends Omit<SubcircuitGroupProps, "subcircuit" | "connections"> {
|
|
180
208
|
title?: string;
|
|
181
209
|
material?: "fr4" | "fr1";
|
|
182
210
|
/** Number of layers for the PCB */
|
|
@@ -359,6 +387,22 @@ export interface ConstrainedLayoutProps {
|
|
|
359
387
|
|
|
360
388
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/constrainedlayout.ts)
|
|
361
389
|
|
|
390
|
+
### ConstraintProps `<constraint />`
|
|
391
|
+
|
|
392
|
+
```ts
|
|
393
|
+
export type ConstraintProps =
|
|
394
|
+
| PcbXDistConstraint
|
|
395
|
+
| PcbYDistConstraint
|
|
396
|
+
| PcbSameYConstraint
|
|
397
|
+
| PcbSameXConstraint;
|
|
398
|
+
|
|
399
|
+
// -----------------------------------------------------------------------------
|
|
400
|
+
// Zod
|
|
401
|
+
// -----------------------------------------------------------------------------
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/constraint.ts)
|
|
405
|
+
|
|
362
406
|
### CopperPourProps `<copperpour />`
|
|
363
407
|
|
|
364
408
|
```ts
|
|
@@ -373,6 +417,22 @@ export interface CopperPourProps {
|
|
|
373
417
|
|
|
374
418
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/copper-pour.ts)
|
|
375
419
|
|
|
420
|
+
### CourtyardOutlineProps `<courtyardoutline />`
|
|
421
|
+
|
|
422
|
+
```ts
|
|
423
|
+
export type CourtyardOutlineProps = z.input<typeof courtyardOutlineProps>;
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/courtyard-outline.ts)
|
|
427
|
+
|
|
428
|
+
### CourtyardRectProps `<courtyardrect />`
|
|
429
|
+
|
|
430
|
+
```ts
|
|
431
|
+
export type CourtyardRectProps = z.input<typeof courtyardRectProps>;
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/courtyard-rect.ts)
|
|
435
|
+
|
|
376
436
|
### CrystalProps `<crystal />`
|
|
377
437
|
|
|
378
438
|
```ts
|
|
@@ -430,6 +490,30 @@ export interface DiodeProps<PinLabel extends string = string>
|
|
|
430
490
|
|
|
431
491
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/diode.ts)
|
|
432
492
|
|
|
493
|
+
### FabricationNotePathProps `<fabricationnotepath />`
|
|
494
|
+
|
|
495
|
+
```ts
|
|
496
|
+
export type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/fabrication-note-path.ts)
|
|
500
|
+
|
|
501
|
+
### FabricationNoteRectProps `<fabricationnoterect />`
|
|
502
|
+
|
|
503
|
+
```ts
|
|
504
|
+
export type FabricationNoteRectProps = z.input<typeof fabricationNoteRectProps>;
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/fabrication-note-rect.ts)
|
|
508
|
+
|
|
509
|
+
### FabricationNoteTextProps `<fabricationnotetext />`
|
|
510
|
+
|
|
511
|
+
```ts
|
|
512
|
+
export type FabricationNoteTextProps = z.input<typeof fabricationNoteTextProps>;
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/fabrication-note-text.ts)
|
|
516
|
+
|
|
433
517
|
### FootprintProps `<footprint />`
|
|
434
518
|
|
|
435
519
|
```ts
|
|
@@ -539,6 +623,10 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
539
623
|
pcbPaddingRight?: Distance;
|
|
540
624
|
pcbPaddingTop?: Distance;
|
|
541
625
|
pcbPaddingBottom?: Distance;
|
|
626
|
+
/**
|
|
627
|
+
* Anchor to use when interpreting pcbX/pcbY relative to pcbPosition
|
|
628
|
+
*/
|
|
629
|
+
pcbPositionAnchor?: AutocompleteString<z.infer<typeof ninePointAnchor>>;
|
|
542
630
|
|
|
543
631
|
/** @deprecated Use `pcbGrid` */
|
|
544
632
|
grid?: boolean;
|
|
@@ -673,6 +761,14 @@ export interface JumperProps extends CommonComponentProps {
|
|
|
673
761
|
|
|
674
762
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/jumper.ts)
|
|
675
763
|
|
|
764
|
+
### LedProps `<led />`
|
|
765
|
+
|
|
766
|
+
```ts
|
|
767
|
+
export type LedProps = z.input<typeof ledProps>;
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/led.ts)
|
|
771
|
+
|
|
676
772
|
### MosfetProps `<mosfet />`
|
|
677
773
|
|
|
678
774
|
```ts
|
|
@@ -728,6 +824,22 @@ export interface NetLabelProps {
|
|
|
728
824
|
|
|
729
825
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/netlabel.ts)
|
|
730
826
|
|
|
827
|
+
### PcbKeepoutProps `<pcbkeepout />`
|
|
828
|
+
|
|
829
|
+
```ts
|
|
830
|
+
export type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
|
|
831
|
+
```
|
|
832
|
+
|
|
833
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/pcb-keepout.ts)
|
|
834
|
+
|
|
835
|
+
### PcbTraceProps `<pcbtrace />`
|
|
836
|
+
|
|
837
|
+
```ts
|
|
838
|
+
export type PcbTraceProps = z.input<typeof pcbTraceProps>;
|
|
839
|
+
```
|
|
840
|
+
|
|
841
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/pcb-trace.ts)
|
|
842
|
+
|
|
731
843
|
### PinHeaderProps `<pinheader />`
|
|
732
844
|
|
|
733
845
|
```ts
|
|
@@ -847,6 +959,14 @@ export interface CirclePlatedHoleProps
|
|
|
847
959
|
|
|
848
960
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/platedhole.ts)
|
|
849
961
|
|
|
962
|
+
### PortProps `<port />`
|
|
963
|
+
|
|
964
|
+
```ts
|
|
965
|
+
export type PortProps = z.input<typeof portProps>;
|
|
966
|
+
```
|
|
967
|
+
|
|
968
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/port.ts)
|
|
969
|
+
|
|
850
970
|
### PotentiometerProps `<potentiometer />`
|
|
851
971
|
|
|
852
972
|
```ts
|
|
@@ -858,6 +978,23 @@ export interface PotentiometerProps extends CommonComponentProps {
|
|
|
858
978
|
|
|
859
979
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/potentiometer.ts)
|
|
860
980
|
|
|
981
|
+
### PowerSourceProps `<powersource />`
|
|
982
|
+
|
|
983
|
+
```ts
|
|
984
|
+
export type PowerSourceProps = z.input<typeof powerSourceProps>;
|
|
985
|
+
```
|
|
986
|
+
|
|
987
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/power-source.ts)
|
|
988
|
+
|
|
989
|
+
### PushButtonProps `<pushbutton />`
|
|
990
|
+
|
|
991
|
+
```ts
|
|
992
|
+
export type PushButtonProps<T extends PinLabelsProp | string = string> =
|
|
993
|
+
ChipProps<T>;
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/push-button.ts)
|
|
997
|
+
|
|
861
998
|
### ResistorProps `<resistor />`
|
|
862
999
|
|
|
863
1000
|
```ts
|
|
@@ -887,6 +1024,22 @@ export interface ResonatorProps extends CommonComponentProps {
|
|
|
887
1024
|
|
|
888
1025
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/resonator.ts)
|
|
889
1026
|
|
|
1027
|
+
### SchematicArcProps `<schematicarc />`
|
|
1028
|
+
|
|
1029
|
+
```ts
|
|
1030
|
+
export type SchematicArcProps = z.input<typeof schematicArcProps>;
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-arc.ts)
|
|
1034
|
+
|
|
1035
|
+
### SchematicBoxProps `<schematicbox />`
|
|
1036
|
+
|
|
1037
|
+
```ts
|
|
1038
|
+
export type SchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
1039
|
+
```
|
|
1040
|
+
|
|
1041
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-box.ts)
|
|
1042
|
+
|
|
890
1043
|
### SchematicCellProps `<schematiccell />`
|
|
891
1044
|
|
|
892
1045
|
```ts
|
|
@@ -904,6 +1057,38 @@ export interface SchematicCellProps {
|
|
|
904
1057
|
|
|
905
1058
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-cell.ts)
|
|
906
1059
|
|
|
1060
|
+
### SchematicCircleProps `<schematiccircle />`
|
|
1061
|
+
|
|
1062
|
+
```ts
|
|
1063
|
+
export type SchematicCircleProps = z.input<typeof schematicCircleProps>;
|
|
1064
|
+
```
|
|
1065
|
+
|
|
1066
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-circle.ts)
|
|
1067
|
+
|
|
1068
|
+
### SchematicLineProps `<schematicline />`
|
|
1069
|
+
|
|
1070
|
+
```ts
|
|
1071
|
+
export type SchematicLineProps = z.input<typeof schematicLineProps>;
|
|
1072
|
+
```
|
|
1073
|
+
|
|
1074
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-line.ts)
|
|
1075
|
+
|
|
1076
|
+
### SchematicPathProps `<schematicpath />`
|
|
1077
|
+
|
|
1078
|
+
```ts
|
|
1079
|
+
export type SchematicPathProps = z.input<typeof schematicPathProps>;
|
|
1080
|
+
```
|
|
1081
|
+
|
|
1082
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-path.ts)
|
|
1083
|
+
|
|
1084
|
+
### SchematicRectProps `<schematicrect />`
|
|
1085
|
+
|
|
1086
|
+
```ts
|
|
1087
|
+
export type SchematicRectProps = z.input<typeof schematicRectProps>;
|
|
1088
|
+
```
|
|
1089
|
+
|
|
1090
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-rect.ts)
|
|
1091
|
+
|
|
907
1092
|
### SchematicRowProps `<schematicrow />`
|
|
908
1093
|
|
|
909
1094
|
```ts
|
|
@@ -931,6 +1116,54 @@ export interface SchematicTableProps {
|
|
|
931
1116
|
|
|
932
1117
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-table.ts)
|
|
933
1118
|
|
|
1119
|
+
### SchematicTextProps `<schematictext />`
|
|
1120
|
+
|
|
1121
|
+
```ts
|
|
1122
|
+
export type SchematicTextProps = z.input<typeof schematicTextProps>;
|
|
1123
|
+
```
|
|
1124
|
+
|
|
1125
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-text.ts)
|
|
1126
|
+
|
|
1127
|
+
### SilkscreenCircleProps `<silkscreencircle />`
|
|
1128
|
+
|
|
1129
|
+
```ts
|
|
1130
|
+
export type SilkscreenCircleProps = z.input<typeof silkscreenCircleProps>;
|
|
1131
|
+
```
|
|
1132
|
+
|
|
1133
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/silkscreen-circle.ts)
|
|
1134
|
+
|
|
1135
|
+
### SilkscreenLineProps `<silkscreenline />`
|
|
1136
|
+
|
|
1137
|
+
```ts
|
|
1138
|
+
export type SilkscreenLineProps = z.input<typeof silkscreenLineProps>;
|
|
1139
|
+
```
|
|
1140
|
+
|
|
1141
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/silkscreen-line.ts)
|
|
1142
|
+
|
|
1143
|
+
### SilkscreenPathProps `<silkscreenpath />`
|
|
1144
|
+
|
|
1145
|
+
```ts
|
|
1146
|
+
export type SilkscreenPathProps = z.input<typeof silkscreenPathProps>;
|
|
1147
|
+
```
|
|
1148
|
+
|
|
1149
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/silkscreen-path.ts)
|
|
1150
|
+
|
|
1151
|
+
### SilkscreenRectProps `<silkscreenrect />`
|
|
1152
|
+
|
|
1153
|
+
```ts
|
|
1154
|
+
export type SilkscreenRectProps = z.input<typeof silkscreenRectProps>;
|
|
1155
|
+
```
|
|
1156
|
+
|
|
1157
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/silkscreen-rect.ts)
|
|
1158
|
+
|
|
1159
|
+
### SilkscreenTextProps `<silkscreentext />`
|
|
1160
|
+
|
|
1161
|
+
```ts
|
|
1162
|
+
export type SilkscreenTextProps = z.input<typeof silkscreenTextProps>;
|
|
1163
|
+
```
|
|
1164
|
+
|
|
1165
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/silkscreen-text.ts)
|
|
1166
|
+
|
|
934
1167
|
### RectSmtPadProps `<smtpad />`
|
|
935
1168
|
|
|
936
1169
|
```ts
|
|
@@ -996,6 +1229,14 @@ export interface StampboardProps extends BoardProps {
|
|
|
996
1229
|
|
|
997
1230
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/stampboard.ts)
|
|
998
1231
|
|
|
1232
|
+
### SubcircuitProps `<subcircuit />`
|
|
1233
|
+
|
|
1234
|
+
```ts
|
|
1235
|
+
export type SubcircuitProps = SubcircuitGroupProps;
|
|
1236
|
+
```
|
|
1237
|
+
|
|
1238
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/subcircuit.ts)
|
|
1239
|
+
|
|
999
1240
|
### SwitchProps `<switch />`
|
|
1000
1241
|
|
|
1001
1242
|
```ts
|
|
@@ -1061,6 +1302,22 @@ export interface TestpointProps extends CommonComponentProps {
|
|
|
1061
1302
|
|
|
1062
1303
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/testpoint.ts)
|
|
1063
1304
|
|
|
1305
|
+
### TraceProps `<trace />`
|
|
1306
|
+
|
|
1307
|
+
```ts
|
|
1308
|
+
export type TraceProps = z.input<typeof traceProps>;
|
|
1309
|
+
```
|
|
1310
|
+
|
|
1311
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/trace.ts)
|
|
1312
|
+
|
|
1313
|
+
### TraceHintProps `<tracehint />`
|
|
1314
|
+
|
|
1315
|
+
```ts
|
|
1316
|
+
export type TraceHintProps = z.input<typeof traceHintProps>;
|
|
1317
|
+
```
|
|
1318
|
+
|
|
1319
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/trace-hint.ts)
|
|
1320
|
+
|
|
1064
1321
|
### TransistorProps `<transistor />`
|
|
1065
1322
|
|
|
1066
1323
|
```ts
|