mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-17 10:35:28 -07:00
Migrate from NewModel() to New() in examples for Bubbles-related stuff
This commit is contained in:
@@ -65,7 +65,7 @@ type model struct {
|
||||
func newModel() model {
|
||||
const showLastResults = 5
|
||||
|
||||
sp := spinner.NewModel()
|
||||
sp := spinner.New()
|
||||
sp.Style = lipgloss.NewStyle().Foreground(lipgloss.Color("206"))
|
||||
|
||||
return model{
|
||||
|
||||
Reference in New Issue
Block a user