Skip to content
Myr

align.go

This file

Path

internal/decode/align.go

13 lines · 322 bytes · Go

Last changed by

chore: update to bubbletea v2 (#1112)Drew Smirnoffbefore adoptionf6dd28e

History of this file

Take it

1// Package decode position strings to lipgloss.2package decode34import "charm.land/lipgloss/v2"56// Align maps strings to `lipgloss.Position`s.7var Align = map[string]lipgloss.Position{8	"center": lipgloss.Center,9	"left":   lipgloss.Left,10	"top":    lipgloss.Top,11	"bottom": lipgloss.Bottom,12	"right":  lipgloss.Right,13}