mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Migrate the HeaderTitle.render return type hint to RenderResult
This commit is contained in:
@@ -93,7 +93,7 @@ class HeaderTitle(Widget):
|
||||
sub_text = Reactive("")
|
||||
"""The sub-title text."""
|
||||
|
||||
def render(self) -> Text:
|
||||
def render(self) -> RenderResult:
|
||||
"""Render the title and sub-title.
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user