assemble/ui/index.js

17 lines
312 B
JavaScript

import React from "react";
import {createRoot} from "react-dom/client";
import General from "./general/index";
const rootDom = document.createElement("div");
document.body.appendChild(rootDom);
const root = createRoot(rootDom);
root.render(<Application/>);
function Application()
{
return <General />
}