forked from module-federation/module-federation-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.jsx
More file actions
29 lines (25 loc) · 799 Bytes
/
App.jsx
File metadata and controls
29 lines (25 loc) · 799 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
27
28
29
import { Divider, ThemeProvider, Typography } from "@material-ui/core";
import Dialog from "./Dialog";
import { HashRouter } from "react-router-dom";
import React from "react";
import Tabs from "./Tabs";
import { theme } from "./theme";
const Page = React.lazy(() => import("app_01/Page"));
function App() {
return (
<HashRouter>
<ThemeProvider theme={theme}>
<React.Suspense fallback={null}>
<Page title="Material UI App">
<Typography variant="h6">Dialog Component</Typography>
<Dialog />
<Divider style={{ margin: "16px 0" }} />
<Typography variant="h6">Tabs Component</Typography>
<Tabs />
</Page>
</React.Suspense>
</ThemeProvider>
</HashRouter>
);
}
export default App;