Correct supported types in docs for modal components

This commit is contained in:
Soheab_ authored and Rapptz committed 2025-09-28 16:10:20 -04:00
1 parent 10bc4ce083
commit 5aa4eb7825
4 files changed
+9 -4

No files matched your search

+2 -1
View File
@@ -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