Skip to content

Commit 8587f0d

Browse files
committed
readme tweaks
1 parent 5d48859 commit 8587f0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/browser-repl/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Shell is a React component with the following properties:
3434
- `onOutputChanged?: (output: ShellOutputEntry[]) => void`: A function called each time the output changes with an array of `ShellOutputEntries`.
3535
- `onHistoryChanged?: (history: string[]) => void`: A function called each time the history changes with an array of history entries ordered from the most recent to the oldest entry.
3636
- `onEditorChanged?: (editor: EditorRef | null) => void`: A function called each time the editor ref changes. Can be used to call editor methods.
37-
- `onOperationStarted: () => void`: A function called when an operation has begun.
38-
- `onOperationEnd: () => void`: A function called when an operation has completed (both error and success).
37+
- `onOperationStarted?: () => void`: A function called when an operation has begun.
38+
- `onOperationEnd?: () => void`: A function called when an operation has completed (both error and success).
3939
- `redactInfo?: boolean`: If set, the shell will omit or redact entries containing sensitive info from history. Defaults to `false`.
4040
- `maxOutputLength?: number`: The maxiumum number of lines to keep in the output. Defaults to `1000`.
4141
- `maxHistoryLength?: number`: The maxiumum number of lines to keep in the history. Defaults to `1000`.

0 commit comments

Comments
 (0)