Skip to content

Commit

Permalink
docs(TextInputBuilder): correct constructor documentation (#10308)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
CodeGoat-dev and kodiakhq[bot] authored Jun 2, 2024
1 parent 38a37b5 commit c1e6890
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/builders/src/components/textInput/TextInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ export class TextInputBuilder
*
* @param data - The API data to create this text input with
* @example
* Creating a select menu option from an API data object:
* Creating a text input from an API data object:
* ```ts
* const textInput = new TextInputBuilder({
* custom_id: 'a cool select menu',
* custom_id: 'a cool text input',
* label: 'Type something',
* style: TextInputStyle.Short,
* });
* ```
* @example
* Creating a select menu option using setters and API data:
* Creating a text input using setters and API data:
* ```ts
* const textInput = new TextInputBuilder({
* label: 'Type something else',
Expand Down

0 comments on commit c1e6890

Please sign in to comment.