Initial Commit
This commit is contained in:
11
src/index.tsx
Normal file
11
src/index.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Root } from "./root";
|
||||
|
||||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
|
||||
window.onload = () => {
|
||||
const body = document.getElementById("mount");
|
||||
|
||||
const root = <Root name="Friend" />;
|
||||
ReactDOM.render(root, body);
|
||||
};
|
||||
Reference in New Issue
Block a user