@tscircuit/props 0.0.438 → 0.0.439
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 +13 -0
- package/dist/index.d.ts +1136 -1
- package/dist/index.js +284 -266
- package/dist/index.js.map +1 -1
- package/lib/components/opamp.ts +42 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
59
59
|
| `<net />` | [`NetProps`](#netprops-net) |
|
|
60
60
|
| `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
|
|
61
61
|
| `<netlabel />` | [`NetLabelProps`](#netlabelprops-netlabel) |
|
|
62
|
+
| `<opamp />` | [`OpAmpProps`](#opampprops-opamp) |
|
|
62
63
|
| `<panel />` | [`PanelProps`](#panelprops-panel) |
|
|
63
64
|
| `<pcbkeepout />` | [`PcbKeepoutProps`](#pcbkeepoutprops-pcbkeepout) |
|
|
64
65
|
| `<pcbnotedimension />` | [`PcbNoteDimensionProps`](#pcbnotedimensionprops-pcbnotedimension) |
|
|
@@ -980,6 +981,18 @@ export interface NetLabelProps {
|
|
|
980
981
|
|
|
981
982
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/netlabel.ts)
|
|
982
983
|
|
|
984
|
+
### OpAmpProps `<opamp />`
|
|
985
|
+
|
|
986
|
+
```ts
|
|
987
|
+
export interface OpAmpProps<
|
|
988
|
+
PinLabel extends string = string,
|
|
989
|
+
> extends CommonComponentProps<PinLabel> {
|
|
990
|
+
connections?: Connections<OpAmpPinLabels>;
|
|
991
|
+
}
|
|
992
|
+
```
|
|
993
|
+
|
|
994
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/opamp.ts)
|
|
995
|
+
|
|
983
996
|
### PanelProps `<panel />`
|
|
984
997
|
|
|
985
998
|
```ts
|