refactor: Rename TextInput to TextInputComponent for consistency

This commit is contained in:
ogabrielluiz 2024-06-14 13:51:04 -03:00
commit 0172a84d63
4 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ from langflow.inputs import MultilineInput, StrInput
from langflow.template import Output
class TextInput(TextComponent):
class TextInputComponent(TextComponent):
display_name = "Text Input"
description = "Get text inputs from the Playground."
icon = "type"

View file

@ -1,4 +1,4 @@
from .ChatInput import ChatInput
from .TextInput import TextInput
from .TextInput import TextInputComponent
__all__ = ["ChatInput", "TextInput"]
__all__ = ["ChatInput", "TextInputComponent"]

View file

@ -3,7 +3,7 @@ from langflow.field_typing import Text
from langflow.template import Input, Output
class TextOutput(TextComponent):
class TextOutputComponent(TextComponent):
display_name = "Text Output"
description = "Display a text output in the Playground."
icon = "type"

View file

@ -1,4 +1,4 @@
from .ChatOutput import ChatOutput
from .TextOutput import TextOutput
from .TextOutput import TextOutputComponent
__all__ = ["ChatOutput", "TextOutput"]
__all__ = ["ChatOutput", "TextOutputComponent"]