@@ -30,14 +30,18 @@ https://webscopeio.github.io/react-console/
3030| welcomeMessage | string |
3131| autoFocus | boolean|
3232| noCommandFound | (...str: string[ ] ) => Promise<string > |
33- | wrapperStyle | Object | styles for the wrapper |
34- | promptStyle | Object | styles for the prompt |
35- | inputStyle | Object | styles for the input |
36- | wrapperClassName | string | className for the wrapper |
37- | promptClassName | string | className for the prompt |
38- | inputClassName | string | className for the input |
39- | history | Array<string > | history array |
40- | onAddHistoryItem | (entry: string) => void | callback called when a new history entry should be created |
33+ | wrapperStyle | React.CSSProperties | styles for ` wrapper ` |
34+ | promptWrapperStyle | React.CSSProperties | styles for ` promptWrapper ` |
35+ | promptStyle | React.CSSProperties | styles for ` prompt ` |
36+ | lineStyle | React.CSSProperties | styles for ` line ` |
37+ | inputStyle | React.CSSProperties | styles for input |
38+ | wrapperClassName | string | className for ` wrapper ` |
39+ | promptWrapperClassName | string | className for ` promptWrapper ` |
40+ | promptClassName | string | className for ` prompt ` |
41+ | lineClassName | string | className for ` line ` |
42+ | inputClassName | string | className for ` input ` |
43+ | history | string[ ] | history array |
44+ | onAddHistoryItem | (entry: string) => void | callback called when a new history entry is created |
4145
4246\* _ are mandatory_
4347
0 commit comments