mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
18 lines
224 B
Python
18 lines
224 B
Python
from textual.app import App
|
|
from textual.widgets import TextInput
|
|
|
|
|
|
class InputApp(App):
|
|
|
|
CSS = """
|
|
TextInput {
|
|
|
|
}
|
|
"""
|
|
|
|
def compose(self):
|
|
yield TextInput(initial="foo")
|
|
|
|
|
|
app = InputApp()
|