title

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: Unlicense Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Title)

func WithBackground

func WithBackground(color lipgloss.Color) Option

func WithForeground

func WithForeground(color lipgloss.Color) Option

type Title

type Title struct {
	// contains filtered or unexported fields
}

func New

func New(text string, options ...Option) Title

func (Title) Render

func (t Title) Render(parents ...lipgloss.Style) string

func (Title) String

func (t Title) String() string

func (Title) Style

func (t Title) Style() lipgloss.Style

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL