docs(tree-view): remove expanded as a property

#1630
This commit is contained in:
Eric Liu 2023-01-16 14:34:11 -08:00 committed by metonym
commit 8f4541fd74
2 changed files with 1 additions and 3 deletions

View file

@ -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.

View file

@ -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 },