Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin42 committed Jul 10, 2017
1 parent dc93cdb commit 1fa8d2f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions starter/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ import Terminal from '../components';
const App = () => (
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', height: '100vh' }}>
<Terminal
backgroundColor="yellow"
msg="Hello World. My name is Nitin Tulswani"
plugins={[
new PseudoFileSystem(),
]}
commands={{
color: {
method: (args) => {
Expand All @@ -33,10 +29,9 @@ const App = () => (
runCommand(`edit-line ${text.slice(0, i + 1)}`);
}, 100 * i);
}
},
'echo': () => ''
}
}}
descriptions={{ color: 'option for color. For eg - color red', 'type-text': false, 'color': false, show: false, clear: false, echo: false }}
descriptions={{ color: 'option for color. For eg - color red', 'type-text': 'Types a tex' }}
/>
</div>
);
Expand Down

0 comments on commit 1fa8d2f

Please sign in to comment.