We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 483ccb3 + 1e50f95 commit f6f3beaCopy full SHA for f6f3bea
src/textual/widgets/_header.py
@@ -6,7 +6,7 @@
6
7
from rich.text import Text
8
9
-from textual.app import RenderResult
+from textual.app import ComposeResult, RenderResult
10
from textual.content import Content
11
from textual.dom import NoScreen
12
from textual.events import Click, Mount
@@ -167,7 +167,7 @@ def __init__(
167
if time_format is not None:
168
self.time_format = time_format
169
170
- def compose(self):
+ def compose(self) -> ComposeResult:
171
yield HeaderIcon().data_bind(Header.icon)
172
yield HeaderTitle()
173
yield (
0 commit comments