Migrate the HeaderTitle.render return type hint to RenderResult

This commit is contained in:
Dave Pearson
2023-03-01 10:17:06 +00:00
parent 4a505e8a6c
commit b071121af7

View File

@@ -93,7 +93,7 @@ class HeaderTitle(Widget):
sub_text = Reactive("") sub_text = Reactive("")
"""The sub-title text.""" """The sub-title text."""
def render(self) -> Text: def render(self) -> RenderResult:
"""Render the title and sub-title. """Render the title and sub-title.
Returns: Returns: