From c1e6890132d5597a6ebd9d79383ec572582c0601 Mon Sep 17 00:00:00 2001 From: CodeGoat Date: Sun, 2 Jun 2024 13:42:11 +0100 Subject: [PATCH] docs(TextInputBuilder): correct constructor documentation (#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> --- packages/builders/src/components/textInput/TextInput.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builders/src/components/textInput/TextInput.ts b/packages/builders/src/components/textInput/TextInput.ts index dcfa0560c..c8bb1f838 100644 --- a/packages/builders/src/components/textInput/TextInput.ts +++ b/packages/builders/src/components/textInput/TextInput.ts @@ -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',