prettier/website/playground/index.js

13 lines
283 B
JavaScript
Raw Normal View History

2018-04-12 03:01:36 +03:00
import "codemirror-graphql/mode";
2018-04-12 00:22:03 +03:00
import React from "react";
import ReactDOM from "react-dom";
2018-04-12 00:22:03 +03:00
import Playground from "./Playground";
2018-04-17 22:09:37 +03:00
import WorkerApi from "./WorkerApi";
2018-04-17 22:09:37 +03:00
ReactDOM.render(
<Playground worker={new WorkerApi("/worker.js")} />,
document.getElementById("root")
);