Skip to content

Commit

Permalink
docs: ui.Line now supports a string argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Apr 12, 2024
1 parent 32949dd commit 2439ca9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/plugins/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ Methods (all methods return `self`):

## Line {#line}

Create a line, which accepts a list of [Span](#span) and [Line](#line):
Create a line, which accepts a string, or a list of [Span](#span) and [Line](#line):

```lua
ui.Line("string")
ui.Line { span, line, span, ... }
```

Expand Down

0 comments on commit 2439ca9

Please sign in to comment.