adminFront/src/index.tsx

19 lines
619 B
TypeScript
Raw Normal View History

2022-09-02 06:36:26 +00:00
import * as React from "react";
2022-09-06 11:52:36 +00:00
// import * as ReactDOM from "react-dom";
2022-09-02 06:36:26 +00:00
import Authorization from "./Components/Authorization";
import Sections from "./Components/Sections";
2022-09-02 06:36:26 +00:00
import { ThemeProvider } from "@mui/material";
import CssBaseline from '@mui/material/CssBaseline';
2022-09-02 06:36:26 +00:00
import theme from "./theme";
2022-09-06 11:52:36 +00:00
import { createRoot } from 'react-dom/client';
2022-09-02 06:36:26 +00:00
2022-09-06 11:52:36 +00:00
const container = document.getElementById('root');
const root = createRoot(container!);
root.render(
<React.StrictMode>
<ThemeProvider theme={theme}>
<CssBaseline />
<Sections />
2022-09-06 11:52:36 +00:00
</ThemeProvider>
</React.StrictMode>
);