mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 11:09:17 -07:00
Migrate from NewModel() to New() in examples for Bubbles-related stuff
This commit is contained in:
@@ -21,7 +21,7 @@ func newModel() model {
|
||||
items = append(items, text)
|
||||
}
|
||||
|
||||
p := paginator.NewModel()
|
||||
p := paginator.New()
|
||||
p.Type = paginator.Dots
|
||||
p.PerPage = 10
|
||||
p.ActiveDot = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "235", Dark: "252"}).Render("•")
|
||||
|
||||
Reference in New Issue
Block a user