typing pride
This commit is contained in:
parent
86edb7345d
commit
9d0f8f1e48
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from textual.app import App
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.widgets import Static
|
||||
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ class PrideApp(App):
|
|||
|
||||
COLORS = ["red", "orange", "yellow", "green", "blue", "purple"]
|
||||
|
||||
def compose(self):
|
||||
def compose(self) -> ComposeResult:
|
||||
for color in self.COLORS:
|
||||
stripe = Static()
|
||||
stripe.styles.height = "1fr"
|
||||
|
|
|
|||
Loading…
Reference in a new issue