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"]={}`| Any additional props will be spread onto the wrapping `<div>` element as attributes via `$$restProps`.|
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.|
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. |
221
221
222
222
### Examples (Svelte 4)
223
223
@@ -268,12 +268,12 @@ Styling `<CartesianWithRunes>` is done in the exact same way as with [`<Cartesia
|`divAttributes`|`?SvelteHTMLElements["div"]={}`| Any additional props will be spread onto the wrapping `<div>` element as attributes via `$$restProps`.|
0 commit comments