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 Feb 9, 2023
1 parent 29a309c commit abee240
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
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 abee240

Please sign in to comment.