From abee24064a10c7d82e3e1da40aa7395beee9c9b8 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Fri, 18 Nov 2022 14:48:41 -0500 Subject: [PATCH] docs: update readme example --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 6c201d2..74ef30b 100644 --- a/README.md +++ b/README.md @@ -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?") ```