schematic-symbols 0.0.117 → 0.0.118
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
import svgJson from "assets/generated/potentiometer3.json"
|
2
|
+
import { modifySymbol } from "drawing/modify-symbol/modify-symbol"
|
3
|
+
|
4
|
+
export default modifySymbol(svgJson)
|
5
|
+
.labelPort("left", ["1"])
|
6
|
+
.labelPort("right", ["3"])
|
7
|
+
.labelPort("bottom", ["2"])
|
8
|
+
.changeTextAnchor("{REF}", "middle_bottom")
|
9
|
+
.changeTextAnchor("{VAL}", "middle_top")
|
10
|
+
.build()
|