You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/browser-repl/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Shell is a React component with the following properties:
40
40
-`maxOutputLength?: number`: The maxiumum number of lines to keep in the output. Defaults to `1000`.
41
41
-`maxHistoryLength?: number`: The maxiumum number of lines to keep in the history. Defaults to `1000`.
42
42
-`initialEvaluate?: string|string[]`: A set of input strings to evaluate right after shell is mounted.
43
-
-`inputText?: string`: The text for the input field.
43
+
-`initialText?: string`: The initial text for the input field.
44
44
-`output?: ShellOutputEntry[]`: An array of entries to be displayed in the output area. Can be used to restore the output between sessions, or to setup a greeting message. **Note**: new entries will not be appended to the array.
45
45
-`history?: readonly string[]`: An array of history entries to prepopulate the history.
46
46
Can be used to restore the history between sessions. Entries must be ordered from the most recent to the oldest. Note: new entries will not be appended to the array.
0 commit comments