Skip to content

Commit c1e6890

Browse files
docs(TextInputBuilder): correct constructor documentation (discordjs#10308)
feat(builders): fix text input docs Fixes incorrect references to select menu options in text input docs. Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 38a37b5 commit c1e6890

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/builders/src/components/textInput/TextInput.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ export class TextInputBuilder
2626
*
2727
* @param data - The API data to create this text input with
2828
* @example
29-
* Creating a select menu option from an API data object:
29+
* Creating a text input from an API data object:
3030
* ```ts
3131
* const textInput = new TextInputBuilder({
32-
* custom_id: 'a cool select menu',
32+
* custom_id: 'a cool text input',
3333
* label: 'Type something',
3434
* style: TextInputStyle.Short,
3535
* });
3636
* ```
3737
* @example
38-
* Creating a select menu option using setters and API data:
38+
* Creating a text input using setters and API data:
3939
* ```ts
4040
* const textInput = new TextInputBuilder({
4141
* label: 'Type something else',

0 commit comments

Comments
 (0)