-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
26 lines (24 loc) · 753 Bytes
/
index.tsx
File metadata and controls
26 lines (24 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from "react";
import { createRoot } from "react-dom/client";
function App() {
return (
<div className="App">
<header className="App-header">
<img src={"logo.svg"} className="App-logo" alt="logo" />
<p>
Edit <code>index.tsx</code> and re-run your project.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
}
const root = createRoot(document.getElementById("root"));
root.render(<App />);