mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
fixed panel/table copypasta
This commit is contained in:
parent
55c3f3b7a8
commit
a9b97fa4dc
@ -12,7 +12,7 @@ The `Panel` widget can be used to organize text into a rendered box.
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To render a table, create a `Table` instance, passing a string to its constructor to assign the contents.
|
To render a panel, create a `Panel` instance, passing a string to its constructor to assign the contents.
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
var panel = new Panel("Hello World");
|
var panel = new Panel("Hello World");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user