13 lines
295 B
Python
13 lines
295 B
Python
from textual.app import App, ComposeResult
|
|
from textual.widgets import Input
|
|
|
|
|
|
class InputApp(App):
|
|
def compose(self) -> ComposeResult:
|
|
yield Input(placeholder="First Name")
|
|
yield Input(placeholder="Last Name")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = InputApp()
|
|
app.run()
|