1.0.1 • Published 9 years ago
react-repl-emulator v1.0.1
React Repl
A small react library to render a terminal emulator
Preview:
Console UI:

Installation(dev)
$ git clone https://github.com/Husseinfarah93/replit.git
$ npm install
$ npm startGo to localhost:1337
Installation(lib)
- Install
npm install --save react-repl-emulator- Import
import Repl from 'react-repl-emulator'- Use
<Repl></Repl>API
Optional Properties
- height (string)
This sets the height of the console. By default the console height is 100% of the body height.
<Repl height="100px" />- width (string)
This sets the width of the console. By default the console width is 100% of the body width.
<Repl width="500px" />- textColour (string)
This sets the colour of the text within the console. By default the text colour is#97ED8A
<Repl textColour="red" /> || <Repl textColour="#B64926" />