mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
17 lines
399 B
TypeScript
17 lines
399 B
TypeScript
|
|
import { Notifications } from '@mantine/notifications';
|
||
|
|
import { createRoot } from 'react-dom/client';
|
||
|
|
import { App } from '/@/remote/app';
|
||
|
|
|
||
|
|
const container = document.getElementById('root')! as HTMLElement;
|
||
|
|
const root = createRoot(container);
|
||
|
|
|
||
|
|
root.render(
|
||
|
|
<>
|
||
|
|
<Notifications
|
||
|
|
containerWidth="300px"
|
||
|
|
position="bottom-center"
|
||
|
|
/>
|
||
|
|
<App />
|
||
|
|
</>,
|
||
|
|
);
|