0xf8 3e3361ddbc
Initial commit
Signed-off-by: 0xf8 <0xf8.dev@proton.me>
2023-02-25 12:24:57 -05:00

11 lines
271 B
TypeScript

import ReactDOM from "react-dom/client";
import React from "react";
import { navbar } from "./navbar";
export default function App(Root) {
const root = ReactDOM.createRoot(document.querySelector("root"));
root.render(<>{ navbar() } { Root() }</>);
return root;
}