Skip to content

Commit 8eaaad6

Browse files
committed
chore(docs): proper rst list for Label.component instead of unreadable mess
1 parent 1cc5a9e commit 8eaaad6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

disnake/ui/label.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,14 @@ class Label(UIComponent):
4040
The label text.
4141
component: :class:`TextInput` | :class:`FileUpload` | :class:`BaseSelect` | :class:`RadioGroup` | :class:`CheckboxGroup` | :class:`Checkbox`
4242
The component within the label.
43-
TODO: markdown list for better readability, probably.
44-
Currently supports :class:`.ui.TextInput`, :class:`.ui.FileUpload`,
45-
select menus (e.g. :class:`.ui.StringSelect`), :class:`RadioGroup`,
46-
:class:`CheckboxGroup`, and :class:`Checkbox`.
43+
44+
Currently supports the following components:
45+
- :class:`.ui.TextInput`
46+
- :class:`.ui.FileUpload`
47+
- select menus (e.g. :class:`.ui.StringSelect`)
48+
- :class:`.ui.RadioGroup`
49+
- :class:`.ui.CheckboxGroup`
50+
- :class:`.ui.Checkbox`
4751
description: :class:`str` | :data:`None`
4852
The description text for the label.
4953
id: :class:`int`

0 commit comments

Comments
 (0)