mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-19 04:24:41 +00:00
Correct supported types in docs for modal components
This commit is contained in:
@@ -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