component

package
v0.0.0-...-58649b5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Header = lipgloss.JoinHorizontal(lipgloss.Bottom,
	style.Logo.Render(logoStr), " ", style.Regular.Render(installStr))

Functions

This section is empty.

Types

type ListItem

type ListItem interface {
	list.Item
	fmt.Stringer
}

type ListItemDelegate

type ListItemDelegate struct{}

func (ListItemDelegate) Height

func (d ListItemDelegate) Height() int

func (ListItemDelegate) Render

func (d ListItemDelegate) Render(w io.Writer, m list.Model, index int, item list.Item)

func (ListItemDelegate) Spacing

func (d ListItemDelegate) Spacing() int

func (ListItemDelegate) Update

func (d ListItemDelegate) Update(msg tea.Msg, m *list.Model) tea.Cmd

type SimpleListItem

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

func NewSimpleListItem

func NewSimpleListItem(id int, value string) SimpleListItem

func (SimpleListItem) FilterValue

func (s SimpleListItem) FilterValue() string

func (SimpleListItem) ID

func (s SimpleListItem) ID() int

func (SimpleListItem) String

func (s SimpleListItem) String() string

Jump to

Keyboard shortcuts

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