diff --git a/docs/src/pages/components/TreeView.svx b/docs/src/pages/components/TreeView.svx index 061e3dcc..fe2a4aa0 100644 --- a/docs/src/pages/components/TreeView.svx +++ b/docs/src/pages/components/TreeView.svx @@ -7,7 +7,7 @@ The `children` prop accepts an array of child nodes. Each node should contain `id` and `text` properties. -Optional properties include `disabled`, `expanded`, `icon`, and `children`. +Optional properties include `disabled`, `icon`, and `children`. A parent node contains `children` while a leaf node does not. diff --git a/docs/src/pages/framed/TreeView/TreeViewIcons.svelte b/docs/src/pages/framed/TreeView/TreeViewIcons.svelte index 465735a0..5c534e0e 100644 --- a/docs/src/pages/framed/TreeView/TreeViewIcons.svelte +++ b/docs/src/pages/framed/TreeView/TreeViewIcons.svelte @@ -14,13 +14,11 @@ id: 1, text: "Analytics", icon: Analytics, - expanded: true, children: [ { id: 2, text: "IBM Analytics Engine", icon: Analytics, - expanded: true, children: [ { id: 3, text: "Apache Spark", icon: Analytics }, { id: 4, text: "Hadoop", icon: Analytics },