Files
DocsGPT/extensions/react-widget/src/main.tsx
2024-11-23 02:29:27 +05:30

7 lines
238 B
TypeScript

//development
import { createRoot } from "react-dom/client";
import { App } from "./App";
import React from "react";
const container = document.getElementById("app") as HTMLElement;
const root = createRoot(container)
root.render(<App />);