Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListModel ¶
type ListModel struct { List list.Model Choice string // Style configures the style applied to all rendering for the list. This can be used to apply padding and borders. Style lipgloss.Style Quitting bool }
ListMode represents the bubble tea model to use for user input
func NewListModel ¶
NewListModel creates a ListModel struct with a list of items, a title, and styling for the list and help.
Click to show internal directories.
Click to hide internal directories.