Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Jul 27, 2022
2 parents fd71450 + 41e7e55 commit 0cad241
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,9 @@ JoinHorizontal(0.2, paragraphA, paragraphB, paragraphC)
Sometimes you’ll want to know the width and height of text blocks when building your layouts.

```js
import { Width, Height } from 'blipgloss'
import { NewStyle, Width, Height } from 'blipgloss'

const block = lipgloss
.NewStyle()
const block = NewStyle()
.Width(40)
.Padding(2)
.Render(someLongString)
Expand Down

0 comments on commit 0cad241

Please sign in to comment.