Skip to content

Commit af9f5ea

Browse files
authored
[docs] fixed typo (#956)
1 parent e96a821 commit af9f5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/input/widgets/tree.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ AnsiConsole.Write(root);
4343
## Collapsing nodes
4444

4545
```csharp
46-
root.AddNode("Label").Collapsed();
46+
root.AddNode("Label").Collapse();
4747
```
4848

4949
## Appearance

0 commit comments

Comments
 (0)