diff --git a/docs/src/pages/components/RecursiveList.svx b/docs/src/pages/components/RecursiveList.svx index 76040ca8f4..d5941bdafe 100644 --- a/docs/src/pages/components/RecursiveList.svx +++ b/docs/src/pages/components/RecursiveList.svx @@ -1,11 +1,17 @@ This component uses the [svelte:self API](https://svelte.dev/docs#svelte_self) to render the [UnorderedList](/components/UnorderedList) and [OrderedList](/components/OrderedList) components with tree structured data. -A child node can render text, a link, HTML content, and other children. +A child node can render text, a link, HTML content, and other child nodes. + + +
+ In version 0.86.0, the children prop was renamed to nodes for Svelte 5 compatibility. +
+
@@ -15,7 +21,7 @@ A child node can render text, a link, HTML content, and other children. ## Unordered -The `children` prop accepts an array of child nodes. +The `nodes` prop accepts an array of child nodes. By default, the list type is unordered. diff --git a/docs/src/pages/components/TreeView.svx b/docs/src/pages/components/TreeView.svx index a8dcd98277..c7c97c92de 100644 --- a/docs/src/pages/components/TreeView.svx +++ b/docs/src/pages/components/TreeView.svx @@ -9,11 +9,11 @@ The `nodes` prop accepts an array of child nodes. Each node should contain `id` Optional properties include `disabled`, `icon`, and `nodes`. -A parent node contains `nodes` (children) while a leaf node does not. +A parent node contains `nodes` while a leaf node does not.
- In version 0.86.0, the children prop has been renamed to nodes for Svelte 5 compatibility. + In version 0.86.0, the children prop was renamed to nodes for Svelte 5 compatibility.