Skip to content

Commit 73a1f6d

Browse files
committed
docs: fix component docs
1 parent 3cc921b commit 73a1f6d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/src/Guides/05 Components.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,10 @@ If you want to use string options, then you use `StringSelect`. Simply pass a li
106106
You can also define how many options users can choose by setting `min_values` and `max_values`.
107107

108108
```python
109-
from interactions import StringSelectMenu, SelectOption
109+
from interactions import StringSelectMenu
110110

111111
components = StringSelectMenu(
112-
options=[
113-
"Pizza", "Pasta", "Burger", "Salad"
114-
],
112+
"Pizza", "Pasta", "Burger", "Salad",
115113
placeholder="What is your favourite food?",
116114
min_values=1,
117115
max_values=1,

0 commit comments

Comments
 (0)