Provide a default label for the toggle buttons

If one isn't provided it'll be an empty string.
This commit is contained in:
Dave Pearson
2023-02-23 16:09:24 +00:00
parent 307b1789a1
commit 837d56f47f

View File

@@ -110,7 +110,7 @@ class ToggleButton(Static, can_focus=True):
def __init__( def __init__(
self, self,
label: TextType, label: TextType = "",
value: bool = False, value: bool = False,
button_first: bool = True, button_first: bool = True,
*, *,