Files
DocsGPT/extensions/react-widget/src/main.tsx
2025-02-17 15:41:34 +05:30

9 lines
240 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 />);