structure change
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
package ui
|
||||
|
||||
import (
|
||||
"github.com/orus-dev/osui"
|
||||
)
|
||||
|
||||
func InputBox(max_size uint) *osui.ComponentWrapper {
|
||||
return osui.NewComponent(ComponentInputBox{max_size: max_size})
|
||||
func Text(text string) *TextComponent {
|
||||
return &TextComponent{Text: text}
|
||||
}
|
||||
|
||||
func Text(text string) *osui.ComponentWrapper {
|
||||
return osui.NewComponent(ComponentText{Text: text})
|
||||
func InputBox(max_size uint) *InputBoxComponent {
|
||||
return &InputBoxComponent{max_size: max_size}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user