Skip to content

Commit

Permalink
feat: possibility to override styles and classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
jankoritak committed Jan 30, 2019
1 parent bce7f35 commit ffb123a
Show file tree
Hide file tree
Showing 5 changed files with 1,157 additions and 9 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ https://webscopeio.github.io/react-console/

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

## Props


| Props | Type | Description |
| :--------------------- | :-------------------------------------------------------------------- |:--------------|
| **commands*** | Object |
| prompt | string |
| welcomeMessage | string |
| autoFocus | boolean|
| noCommandFound | (...str: string[]) => Promise<string> |
| wrapperStyle | Object | styles for the wrapper |
| promptStyle | Object | styles for the prompt |
| inputStyle | Object | styles for the input |
| wrapperClassName | string | className for the wrapper |
| promptClassName | string | className for the prompt |
| inputClassName | string | className for the input |

\*_are mandatory_

## Usage

```tsx
Expand Down
Loading

0 comments on commit ffb123a

Please sign in to comment.