18.3.9 • Published 2 years ago

paperclip-repl v18.3.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago
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}
/>