18.5.6 • Published 3 years ago

@paperclip-ui/repl v18.5.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago
import React from "react";
import {PaperclipREPL} from "@paperclip-ui/repl";

const FILES = {
  "entry.pc": `
    Hello World
  `
};

const onContentChange = (fileName: string, content: string) => {
  // do something
};

<PaperclipREPL 
  files={FILES} 
  main="entry.pc" 
  onContentChange={onContentChange}
/>