{componentConfig.render({
...appState.data["content"][0].props,
- puck: { renderDropZone: () =>
},
+ puck: { renderDropZone: () =>
, isEditing: false },
})}
)}
diff --git a/apps/docs/pages/docs/api-reference/configuration/component-config.mdx b/apps/docs/pages/docs/api-reference/configuration/component-config.mdx
index 774c968abd..2e5e329879 100644
--- a/apps/docs/pages/docs/api-reference/configuration/component-config.mdx
+++ b/apps/docs/pages/docs/api-reference/configuration/component-config.mdx
@@ -51,17 +51,24 @@ const config = {
};
```
-#### Args
+#### Render props
-| Arg | Example | Type |
-| ------- | -------------------------------------------------- | ------ |
-| `props` | `{ id: "id", puck: { renderDropZone: DropZone } }` | Object |
+| Arg | Example | Type |
+| -------------------------------------------- | ------------- | -------- |
+| [`id`](#id) | `button-1234` | String |
+| [`puck.isEditing`](#puckisediting) | `false` | Boolean |
+| [`puck.renderDropZone`](#puckrenderdropzone) | `() => {}` | Function |
+| [`...props`](#props) | `{}` | Object |
-##### `props.id`
+##### `id`
A unique ID generated by Puck for this component. You can optionally apply this, or use your own ID.
-##### `props.puck.renderDropZone`
+##### `puck.isEditing`
+
+A boolean describing whether or not this component is being rendered in the `