15 lines
281 B
TypeScript
15 lines
281 B
TypeScript
|
import React from 'react'
|
||
|
import {createRoot} from 'react-dom/client'
|
||
|
import './style.css'
|
||
|
import App from './App'
|
||
|
|
||
|
const container = document.getElementById('root')
|
||
|
|
||
|
const root = createRoot(container!)
|
||
|
|
||
|
root.render(
|
||
|
<React.StrictMode>
|
||
|
<App/>
|
||
|
</React.StrictMode>
|
||
|
)
|