Skip to content

Commit

Permalink
fix typos in join
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyonlin authored and muesli committed Apr 6, 2021
1 parent 3cb36e5 commit 84c08a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions join.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// at the bottom.
//
// If you just want to align to the left, right or center you may as well just
// use the helper constants JoinTop, JoinCenter, and JoinBottom.
// use the helper constants Top, Center, and Bottom.
//
// Example:
//
Expand All @@ -24,7 +24,7 @@ import (
// str := lipgloss.JoinHorizontal(0.2, blockA, blockB)
//
// // Join on the top edge
// str := lipgloss.JoinHorizontal(lipgloss.JoinTop, blockA, blockB)
// str := lipgloss.JoinHorizontal(lipgloss.Top, blockA, blockB)
//
func JoinHorizontal(pos Position, strs ...string) string {
if len(strs) == 0 {
Expand Down Expand Up @@ -102,7 +102,7 @@ func JoinHorizontal(pos Position, strs ...string) string {
// the right.
//
// If you just want to align to the left, right or center you may as well just
// use the helper constants JoinLeft, JoinCenter, and JoinRight.
// use the helper constants Left, Center, and Right.
//
// Example:
//
Expand All @@ -113,7 +113,7 @@ func JoinHorizontal(pos Position, strs ...string) string {
// str := lipgloss.JoinVertical(0.2, blockA, blockB)
//
// // Join on the right edge
// str := lipgloss.JoinVertical(lipgloss.JoinRight, blockA, blockB)
// str := lipgloss.JoinVertical(lipgloss.Right, blockA, blockB)
//
func JoinVertical(pos Position, strs ...string) string {
if len(strs) == 0 {
Expand Down

0 comments on commit 84c08a0

Please sign in to comment.