Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetThemeNames ¶
func GetThemeNames() []string
Types ¶
type ConfirmModel ¶
type ConfirmModel struct {
// contains filtered or unexported fields
}
ConfirmModel is a custom component for the confirm step Shows: Yes - commit, Cancel, Regenerate with inline feedback input
func NewConfirmModel ¶
func NewConfirmModel(theme *Theme) *ConfirmModel
func (*ConfirmModel) Action ¶
func (m *ConfirmModel) Action() string
func (*ConfirmModel) Feedback ¶
func (m *ConfirmModel) Feedback() string
func (*ConfirmModel) Init ¶
func (m *ConfirmModel) Init() tea.Cmd
func (*ConfirmModel) Submitted ¶
func (m *ConfirmModel) Submitted() bool
func (*ConfirmModel) Update ¶
func (m *ConfirmModel) Update(msg tea.Msg) (*ConfirmModel, tea.Cmd)
func (*ConfirmModel) View ¶
func (m *ConfirmModel) View() string
type Styles ¶
type Styles struct {
Title lipgloss.Style
Success lipgloss.Style
Error lipgloss.Style
Dim lipgloss.Style
Message lipgloss.Style
}
Styles holds all the styled components using a theme
Click to show internal directories.
Click to hide internal directories.