mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-14 08:58:32 +00:00
refactor!: remove deprecated references
This removes all the `NewModel` functions from all the bubbles and any deprecated fields and types.
This commit is contained in:
@@ -199,11 +199,6 @@ func New(opts ...Option) Model {
|
||||
return m
|
||||
}
|
||||
|
||||
// NewModel returns a model with default values.
|
||||
//
|
||||
// Deprecated: use [New] instead.
|
||||
var NewModel = New
|
||||
|
||||
// Init exists to satisfy the tea.Model interface.
|
||||
func (m Model) Init() (tea.Model, tea.Cmd) {
|
||||
return m, nil
|
||||
|
||||
Reference in New Issue
Block a user