mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Document which components need to be in a Label
This commit is contained in:
1 parent
81ebfd1e19
commit
8470bc8fd1
2 files changed
+3
-3
No files matched your search
@@ -59,7 +59,7 @@ V = TypeVar('V', bound='BaseView', covariant=True)
|
|||||||
|
|
||||||
|
|
||||||
class CheckboxGroup(Item[V]):
|
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
|
.. versionadded:: 2.7
|
||||||
|
|
||||||
@@ -281,7 +281,7 @@ class CheckboxGroup(Item[V]):
|
|||||||
|
|
||||||
|
|
||||||
class Checkbox(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
|
.. versionadded:: 2.7
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@ V = TypeVar('V', bound='BaseView', covariant=True)
|
|||||||
|
|
||||||
|
|
||||||
class RadioGroup(Item[V]):
|
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
|
.. versionadded:: 2.7
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user