diff --git a/README.md b/README.md index bc270c4..182ccad 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Properties you can pass to the console element | complete? | function(words: string[], cursor: number, prompt: string): string[] | Return a list of possible completions given a list of (`words`), index of the word containing the cursor (`cursor`) , and the full prompt text (`prompt`). | continue? | function(prompt: string): bool | Return a boolean indicating whether to continue asking for user input on a newline given the current prompt text (`prompt`). | handler | function(command: string): any | Handle a command (`command`), logging data with `this.log()` or `this.logX()`, and calling `this.return()` when finished. -| promptLabel? | string | function(): string | String displayed to prompt user for input. +| promptLabel? | string \| function(): string | String displayed to prompt user for input. | welcomeMessage? | string | Initial message displayed after mount.