Skip to content

Commit 48d2cf4

Browse files
authored
Rename x and y to pcbX and pcbY in via.mdx (#297)
fix syntax to match reality :)
1 parent ab7d573 commit 48d2cf4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/elements/via.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import CircuitPreview from "@site/src/components/CircuitPreview"
2525
toLayer="bottom"
2626
outerDiameter="0.8mm"
2727
holeDiameter="0.4mm"
28-
x={10}
29-
y={10}
28+
pcbX={10}
29+
pcbY={10}
3030
/>
3131
)`}
3232
/>
@@ -40,5 +40,5 @@ import CircuitPreview from "@site/src/components/CircuitPreview"
4040
| toLayer | string | "bottom" | Ending layer for the via |
4141
| holeDiameter | number \| string | "0.4mm" | Diameter of the plated hole |
4242
| outerDiameter | number \| string | "0.8mm" | Outer diameter of the copper annular ring |
43-
| x | number | 0 | PCB X position of the via |
44-
| y | number | 0 | PCB Y position of the via |
43+
| pcbX | number | 0 | PCB X position of the via |
44+
| pcbY | number | 0 | PCB Y position of the via |

0 commit comments

Comments
 (0)