Add docstring to Header

This commit is contained in:
Darren Burns
2022-10-06 16:41:23 +01:00
parent 035bf80071
commit 029cfb4e86

View File

@@ -70,7 +70,11 @@ class HeaderTitle(Widget):
class Header(Widget):
"""A header widget with icon and clock."""
"""A header widget with icon and clock.
Args:
show_clock (bool, optional): True if the clock should be shown on the right of the header.
"""
DEFAULT_CSS = """
Header {