File tree Expand file tree Collapse file tree 5 files changed +1156
-7
lines changed Expand file tree Collapse file tree 5 files changed +1156
-7
lines changed Original file line number Diff line number Diff 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 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments