mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a docstring to PlaceholderVariant
This commit is contained in:
@@ -13,6 +13,8 @@ from ..reactive import Reactive, reactive
|
||||
from ..widget import Widget
|
||||
|
||||
PlaceholderVariant = Literal["default", "size", "text"]
|
||||
"""The different variants of placeholder."""
|
||||
|
||||
_VALID_PLACEHOLDER_VARIANTS_ORDERED: list[PlaceholderVariant] = [
|
||||
"default",
|
||||
"size",
|
||||
|
||||
Reference in New Issue
Block a user