Skip to content

Commit ecb79c8

Browse files
authored
Merge pull request #20 from jankoritak/feature/exhaustive-styles-override
Feature/exhaustive styles override
2 parents d8b6cb2 + 256c6b9 commit ecb79c8

File tree

6 files changed

+31307
-45
lines changed

6 files changed

+31307
-45
lines changed

README.md

+13-9
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,23 @@ https://webscopeio.github.io/react-console/
2525

2626
| Props | Type | Description |
2727
| :--------------------- | :-------------------------------------------------------------------- |:--------------|
28-
| **commands*** | Object |
28+
| **commands*** | **CommandsProp** |
2929
| prompt | string |
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

Comments
 (0)