mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +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:
@@ -89,11 +89,6 @@ func New() Model {
|
||||
}
|
||||
}
|
||||
|
||||
// NewModel creates a new help view with some useful defaults.
|
||||
//
|
||||
// Deprecated: use [New] instead.
|
||||
var NewModel = New
|
||||
|
||||
// Update helps satisfy the Bubble Tea Model interface. It's a no-op.
|
||||
func (m Model) Update(_ tea.Msg) (Model, tea.Cmd) {
|
||||
return m, nil
|
||||
|
||||
Reference in New Issue
Block a user