Add the basics of Label docs for the manual

This commit is contained in:
Dave Pearson
2022-11-17 10:15:35 +00:00
parent 67386478ef
commit 8a6d21da5e
5 changed files with 51 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
from textual.app import App, ComposeResult
from textual.widgets import Label
class LabelApp(App):
def compose(self) -> ComposeResult:
yield Label("Hello, world!")
if __name__ == "__main__":
app = LabelApp()
app.run()