Skip to content

Commit

Permalink
docs: update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 18, 2022
1 parent 110086d commit 4330757
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -173,12 +173,10 @@ var style = lipgloss.NewStyle().
Setting a minimum width and height is simple and straightforward.

```go
var style = lipgloss.NewStyle().
var style = lipgloss.NewStyle("What’s for lunch?").
Width(24).
Height(32).
Foreground(lipgloss.Color("63"))

var str = lipgloss.Render(style, "What’s for lunch?")
```


Expand Down

0 comments on commit 4330757

Please sign in to comment.