Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions docs/footprints/silkscreenrect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import CircuitPreview from "@site/src/components/CircuitPreview"

<CircuitPreview code={`
export default () => (
<group>
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width={1} height={1} />
</footprint>
</group>
<board width="5mm" height="5mm">
<footprint>
<silkscreenrect pcbX={0} pcbY={0} width={1} height={1} />
</footprint>
</board>
)
`} />

Expand All @@ -26,17 +26,17 @@ Enable the `filled` prop to create solid silkscreen blocks—useful for alignmen

<CircuitPreview code={`
export default () => (
<group>
<footprint name="U1">
<silkscreenrect pcbX={-1.2} pcbY={0} width={1} height={1} />
<silkscreenrect
pcbX={1.2}
pcbY={0}
width={1}
height={1}
filled
/>
</footprint>
</group>
<board width="5mm" height="5mm">
<footprint name="U1">
<silkscreenrect pcbX={-1.2} pcbY={0} width={1} height={1} />
<silkscreenrect
pcbX={1.2}
pcbY={0}
width={1}
height={1}
filled
/>
</footprint>
</board>
)
`} />