menus
This commit is contained in:
+1
-1
@@ -24,5 +24,5 @@ func (t TextComponent) Render() string {
|
||||
func (t *TextComponent) SetStyle(interface{}) {}
|
||||
|
||||
func Text(text string) *TextComponent {
|
||||
return osui.NewComponent(&TextComponent{Text: text}).(*TextComponent)
|
||||
return &TextComponent{Text: text}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user