@tscircuit/props 0.0.479 → 0.0.480
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 +4 -1
- package/dist/index.d.ts +2988 -0
- package/dist/index.js +23 -7
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +40 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1337,9 +1337,12 @@ export type PortProps = z.input<typeof portProps>;
|
|
|
1337
1337
|
### PotentiometerProps `<potentiometer />`
|
|
1338
1338
|
|
|
1339
1339
|
```ts
|
|
1340
|
-
export interface PotentiometerProps
|
|
1340
|
+
export interface PotentiometerProps<
|
|
1341
|
+
PinLabel extends string = string,
|
|
1342
|
+
> extends CommonComponentProps<PinLabel> {
|
|
1341
1343
|
maxResistance: number | string;
|
|
1342
1344
|
pinVariant?: PotentiometerPinVariant;
|
|
1345
|
+
connections?: Connections<PotentiometerPinLabels>;
|
|
1343
1346
|
}
|
|
1344
1347
|
```
|
|
1345
1348
|
|