mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Migrate from NewModel() to New() in examples for Bubbles-related stuff
This commit is contained in:
@@ -56,7 +56,7 @@ type model struct {
|
||||
}
|
||||
|
||||
func newModel(initialValue string) (m model) {
|
||||
i := textinput.NewModel()
|
||||
i := textinput.New()
|
||||
i.Prompt = ""
|
||||
i.CursorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("63"))
|
||||
i.Width = 48
|
||||
|
||||
Reference in New Issue
Block a user