mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Correct supported types in docs for modal components
This commit is contained in:
1 parent
10bc4ce083
commit
5aa4eb7825
4 files changed
+9
-4
No files matched your search
@@ -43,7 +43,8 @@ __all__ = ('TextDisplay',)
|
||||
class TextDisplay(Item[V]):
|
||||
"""Represents a UI text display.
|
||||
|
||||
This is a top-level layout component that can only be used on :class:`LayoutView` or :class:`Section`.
|
||||
This is a top-level layout component that can only be used on :class:`LayoutView`,
|
||||
:class:`Section`, :class:`Container`, or :class:`Modal`.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
|
||||
Reference in new issue
Block a user