You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`Component`|`ComponentType`|**Required**: A Svelte component. |
216
-
|`props`|`Record<string, any[]>`|**Required**: An object containing prop names and an array of potential values. |
217
-
|`asChild`|`?boolean=false`| Renders the default slot's contents. Each Cartesian's iteration will pass `innerProps` as slot props. Default value `false`. |
|`divAttributes`|`?SvelteHTMLElements["div"]={}`| Attributes to be spread onto the wrapping `<div>` element. |
220
-
|`let:innerProps`|`Record<string, any>`| Provides a single combination of props at every iteration. Use this alongside `asChild` to spread `innerProps` to your nested component. |
| `Component` | `ComponentType` | **Required**: A Svelte component. |
269
+
| `props` | `Record<string, any[]>` | **Required**: An object containing prop names and an array of potential values. |
270
+
| `asChild` | `?boolean=false` | Renders the default slot's contents. Each Cartesian's iteration will pass `innerProps` as slot props. Default value `false`. See [usage with slots](#usage-with-slots-svelte-4) for more details. |
271
+
| `labels` | `?(undefined \| boolean \| 'short' \| 'long' \| 'long-with-objects')=undefined` | Generate labels under every iteration. See [adding labels](#adding-labels-svelte-4) for detailed usage. |
| `divAttributes` | `?SvelteHTMLElements["div"]={}` | Attributes to be spread onto the wrapping `<div>` element. |
274
+
| `let:innerProps` | `Record<string, any>` | Provides a single combination of props at every iteration to the *default* slot. Use this alongside `asChild` to spread `innerProps` to your nested component. |
275
+
| `let:label` | `string` | Generated label for a given instance. This is provided to the `label` slot. See [adding labels](#adding-labels-svelte-4) for more details. |
| *default* | `let:innerProps` | Default slot. Contents get passed to provided `Component`. When `asChild` is set to `true`, contents **MAY** contain provided `Component` and its respective slots; see [usage with slots](#usage-with-slots-svelte-4) for more details. |
282
+
| `label` | `let:label`, `let:innerProps` | Provide your own label, styles, and logic instead of the default provided label. |
0 commit comments