SlotGroup
Render `as` (a host element or component) carrying the unit's marker: a group binding emits `data-slot-group`, a collection row's `ItemBinding` emits `data-slot-item` — so the editor outlines and edits the container as one sidebar card.
Render as (a host element or component) carrying the unit’s marker: a group
binding emits data-slot-group, a collection row’s ItemBinding emits
data-slot-item — so the editor outlines and edits the container as one
sidebar card. Rendering the same unit again (a clone slide, a second layout
branch) is just another SlotGroup with the same binding; every copy is live.
Import from @homepages/template-kit.
Signature
Section titled “Signature”function SlotGroup<As extends ElementType>(props: SlotGroupProps<As>): ReactNodeParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
props |
SlotGroupProps<As> |
required |
Returns
Section titled “Returns”ReactNode