Skip to content

Commit 93c1154

Browse files
ghostdevvdreyfus92
andcommitted
chore: apply suggestion
Co-authored-by: paul valladares <85648028+dreyfus92@users.noreply.github.com>
1 parent d4c3dfa commit 93c1154

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/content/docs/clack/packages/prompts.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ const framework = await autocomplete({
345345

346346
Options:
347347

348-
- `message`: The prompt message or question shown to the user above the input.
348+
- `message`: The message or question shown to the user above the input.
349349
- `options`: The options to present, or a function that returns the options to present allowing for custom search/filtering. [Learn more below](#dynamic-options-getter).
350350
- `maxItems`: The maximum number of items/options to display in the autocomplete list at once.
351351
- `placeholder`: Placeholder text displayed when the search field is empty. When set, pressing tab copies the placeholder into the input.
@@ -467,7 +467,7 @@ const selectedPath = await path({
467467
<font color="#06989A">└</font></pre>
468468

469469
Options:
470-
- `message`: The prompt message or question shown to the user above the input.
470+
- `message`: The message or question shown to the user above the input.
471471
- `root`: The starting directory for path suggestions (defaults to current working directory).
472472
- `directory`: When `true` only **directories** appear in suggestions while you navigate (v1.2.0 fixes for directory-only mode).
473473
- `initialValue`: The starting path shown when the prompt first renders, which users can edit before submitting. If not provided it will fall back to the given `root`, or the current working directory. In `directory` mode, if the initial value points to a directory that exists, pressing enter will submit the input instead of jumping to the first child (v1.2.0).
@@ -519,7 +519,7 @@ Multi-line `message` strings wrap correctly; guide lines apply to wrapped confir
519519
:::
520520

521521
Options:
522-
- `message`: The prompt message or question shown to the user above the input.
522+
- `message`: The message or question shown to the user above the input.
523523
- `active`: The label to use for the active (true) option (default: `Yes`).
524524
- `inactive`: The label to use for the inactive (false) option (default: `No`).
525525
- `initialValue`: The initial selected value (true or false) (default: `true`).

0 commit comments

Comments
 (0)