docs: update readme example

This commit is contained in:
Ayman Bagabas 2022-11-18 14:48:41 -05:00
parent 29a309cde1
commit abee24064a

View File

@ -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("Whats for lunch?").
Width(24).
Height(32).
Foreground(lipgloss.Color("63"))
var str = lipgloss.Render(style, "Whats for lunch?")
```