1
0
mirror of https://github.com/lexogrine/dota2-react-hud.git synced 2025-12-10 01:52:49 +01:00
dota2-react-hud/src/index.tsx
2023-05-16 14:18:16 +02:00

9 lines
310 B
TypeScript

import React from "react";
import "./index.css";
import "./fonts/rajdhani.css";
import App from "./App";
import { createRoot } from 'react-dom/client';
const container = document.getElementById('root');
const root = createRoot(container!); // createRoot(container!) if you use TypeScript
root.render(<App />);