18.3.9 • Published 2 years ago
paperclip-repl v18.3.9
import React from "react";
import {PaperclipREPL} from "paperclip-repl";
const FILES = {
"entry.pc": `
Hello World
`
};
const onContentChange = (fileName: string, content: string) => {
// do something
};
<PaperclipREPL
files={FILES}
main="entry.pc"
onContentChange={onContentChange}
/>