@tscircuit/props 0.0.289 → 0.0.291
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 +2 -0
- package/dist/index.d.ts +144 -0
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +2 -0
- package/lib/components/battery.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -144,6 +144,8 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
144
144
|
export interface BatteryProps<PinLabel extends string = string>
|
|
145
145
|
extends CommonComponentProps<PinLabel> {
|
|
146
146
|
capacity?: number | string;
|
|
147
|
+
voltage?: number | string;
|
|
148
|
+
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C";
|
|
147
149
|
schOrientation?: SchematicOrientation;
|
|
148
150
|
}
|
|
149
151
|
```
|