Skip to content

Commit 4c43495

Browse files
committed
feat: possibility to override styles and classnames
1 parent bce7f35 commit 4c43495

File tree

5 files changed

+1156
-7
lines changed

5 files changed

+1156
-7
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,25 @@ https://webscopeio.github.io/react-console/
2020

2121
![Webscope React Console](https://user-images.githubusercontent.com/1083817/48961581-14dce380-ef76-11e8-9d89-66c3815e46fe.png)
2222

23+
## Props
24+
25+
26+
| Props | Type | Description |
27+
| :--------------------- | :-------------------------------------------------------------------- |:--------------|
28+
| **commands*** | Object |
29+
| prompt | string |
30+
| welcomeMessage | string |
31+
| autoFocus | boolean|
32+
| 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+
40+
\*_are mandatory_
41+
2342
## Usage
2443

2544
```tsx

0 commit comments

Comments
 (0)