Skip to content

Commit 0df18d8

Browse files
authored
Update group element docs (#248)
1 parent 5a8d5c5 commit 0df18d8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/elements/group.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: <group />
33
description: A group is the basic container element that can contain other elements.
44
---
55

6-
## Overview
7-
86
A group is the basic container element that can contain other elements.
97

108
By default, a group doesn't have any effect on the circuit.
@@ -34,7 +32,6 @@ import CircuitPreview from "@site/src/components/CircuitPreview"
3432
| Prop | Type | Description |
3533
| --- | --- | --- |
3634
| `name` | `string` | Optional identifier for the group element. |
37-
| `key` | `any` | Custom React key if you are rendering groups dynamically. |
3835
| `children` | `any` | Elements that will be rendered inside the group. |
3936
| `schTitle` | `string` | Title displayed above the group in the schematic view. |
4037
| `showAsSchematicBox` | `boolean` | When true, renders the group as a single schematic box. |
@@ -61,7 +58,7 @@ import CircuitPreview from "@site/src/components/CircuitPreview"
6158
<group pcbGrid pcbGridCols={2} pcbGridGap="1mm">
6259
<resistor name="R1" resistance="1k" footprint="0402" />
6360
<capacitor name="C1" capacitance="10uF" footprint="0402" />
64-
<led name="LED1" color="red" footprint="led0603" />
61+
<led name="LED1" color="red" footprint="0603" />
6562
<chip name="U1" footprint="soic8" />
6663
</group>
6764
</board>

0 commit comments

Comments
 (0)