mirror of
https://github.com/Maks1mS/bubbles.git
synced 2025-10-10 14:16:41 +03:00
Rename input
to textinput
+ DefaultModel is now NewModel
This commit is contained in:
@@ -149,7 +149,7 @@ func Update(msg tea.Msg, m Model) (Model, tea.Cmd) {
|
||||
func View(model tea.Model) string {
|
||||
m, ok := model.(Model)
|
||||
if !ok {
|
||||
return ""
|
||||
return "could not perform assertion on model"
|
||||
}
|
||||
switch m.Type {
|
||||
case Dots:
|
||||
|
Reference in New Issue
Block a user