Tldraw/examples/tldraw-example/src/index.tsx

17 wiersze
399 B
TypeScript
Czysty Zwykły widok Historia

/* eslint-disable @typescript-eslint/no-non-null-assertion */
2021-08-10 17:19:30 +00:00
import React from 'react'
import { createRoot } from 'react-dom/client'
2021-08-10 17:19:30 +00:00
import App from './app'
2021-09-09 12:32:08 +00:00
import { HashRouter } from 'react-router-dom'
2021-08-10 17:19:30 +00:00
const container = document.getElementById('root')!
const root = createRoot(container)
root.render(
2021-08-10 17:19:30 +00:00
<React.StrictMode>
2021-09-09 12:32:08 +00:00
<HashRouter>
<App />
</HashRouter>
</React.StrictMode>
2021-08-10 17:19:30 +00:00
)