Command framework

This commit is contained in:
Daniel Kluge
2021-12-16 00:21:14 +01:00
parent ced2559551
commit ec595650fd
10 changed files with 183 additions and 15 deletions
+10
View File
@@ -0,0 +1,10 @@
import { NextPage } from "next";
import styles from "../../styles/REPL/REPLHistory.module.css";
const REPLHistory: NextPage<{history: string[]}> = ({history}) => {
return <div className={styles.container}>
{ history.map((value, idx) => <div className={styles.line} key={idx}>{value === "" ? "\u00A0" : value}</div>) }
</div>;
};
export default REPLHistory;