chore: audit components
This commit is contained in:
@@ -38,14 +38,18 @@ impl Render for Harness {
|
||||
})
|
||||
.items(|_, _| {
|
||||
vec![
|
||||
TreeItem::new("Root")
|
||||
TreeItem::new("root", "Root")
|
||||
.depth(0)
|
||||
.expandable(true)
|
||||
.expanded(true),
|
||||
TreeItem::new("Child").depth(1),
|
||||
TreeItem::new("Collapsed").depth(0).expandable(true),
|
||||
TreeItem::new("Untouchable").depth(1).disabled(true),
|
||||
TreeItem::new("Last").depth(0),
|
||||
TreeItem::new("child", "Child").depth(1),
|
||||
TreeItem::new("collapsed", "Collapsed")
|
||||
.depth(0)
|
||||
.expandable(true),
|
||||
TreeItem::new("untouchable", "Untouchable")
|
||||
.depth(1)
|
||||
.disabled(true),
|
||||
TreeItem::new("last", "Last").depth(0),
|
||||
]
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user