-
Notifications
You must be signed in to change notification settings - Fork 148
/
index.d.ts
29 lines (28 loc) · 992 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
declare module 'terminal-in-react' {
import Component = React.Component;
import CSSProperties = React.CSSProperties;
export default class Terminal extends Component<{
style?: CSSProperties;
color?: string;
outputColor?: string;
backgroundColor?: string;
prompt?: string;
barColor?: string;
descriptions?: {};
commands?: {};
msg?: string;
watchConsoleLogging?: boolean;
commandPassThrough?: (cmd: string, print: () => void) => void;
promptSymbol?: string;
plugins?: any[];
startState?: 'open' | 'maximised' | 'minimised' | 'closed';
showActions?: boolean;
hideTopBar?: boolean;
allowTabs?: boolean;
actionHandlers?: {
handleClose?: (toogleClose: () => void) => void;
handleMaximise?: (toggleMaximise: () => void) => void;
handleMinimise?: (toggleMinimise: () => void) => void;
};
}> {}
}