Document which components need to be in a Label

This commit is contained in:
Sacul authored and GitHub committed 2026-07-08 16:07:46 -04:00
1 parent 81ebfd1e19
commit 8470bc8fd1
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ V = TypeVar('V', bound='BaseView', covariant=True)
class CheckboxGroup(Item[V]):
"""Represents a checkbox group component within a modal.
"""Represents a checkbox group component within a modal that can only be used in :class:`Label`.
.. versionadded:: 2.7
@@ -281,7 +281,7 @@ class CheckboxGroup(Item[V]):
class Checkbox(Item[V]):
"""Represents a checkbox component within a modal.
"""Represents a checkbox component within a modal that can only be used in :class:`Label`.
.. versionadded:: 2.7
+1 -1
View File
@@ -54,7 +54,7 @@ V = TypeVar('V', bound='BaseView', covariant=True)
class RadioGroup(Item[V]):
"""Represents a radio group component within a modal.
"""Represents a radio group component within a modal that can only be used in :class:`Label`.
.. versionadded:: 2.7