mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
12 lines
247 B
Python
12 lines
247 B
Python
from textual.app import App, ComposeResult
|
|
from textual.widgets import Static
|
|
|
|
|
|
class TextApp(App):
|
|
def compose(self) -> ComposeResult:
|
|
yield Static("Hello")
|
|
yield Static("[b]World![/b]")
|
|
|
|
|
|
app = TextApp(css_path="simple.css")
|