schala/static/main.jsx

11 lines
269 B
JavaScript

const React = require("react");
const ReactDOM = require("react-dom");
const main = (<div>
<h1>Schala web input</h1>
<p>Write your source code here</p>
</div>);
const rootDom = document.getElementById("main");
ReactDOM.render(<h1>Schala web input</h1>, rootDom);