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:
@@ -27,7 +27,7 @@ var helpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#626262")).Render
|
||||
|
||||
func main() {
|
||||
m := model{
|
||||
progress: progress.NewModel(progress.WithDefaultGradient()),
|
||||
progress: progress.New(progress.WithDefaultGradient()),
|
||||
}
|
||||
|
||||
if err := tea.NewProgram(m).Start(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user