aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/layout/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/layout/index.tsx')
-rw-r--r--webui/src/layout/index.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/webui/src/layout/index.tsx b/webui/src/layout/index.tsx
new file mode 100644
index 00000000..42a0cfc1
--- /dev/null
+++ b/webui/src/layout/index.tsx
@@ -0,0 +1,18 @@
+import React from 'react';
+
+import CssBaseline from '@material-ui/core/CssBaseline';
+
+import Header from './Header';
+
+type Props = { children: React.ReactNode };
+function Layout({ children }: Props) {
+ return (
+ <>
+ <CssBaseline />
+ <Header />
+ {children}
+ </>
+ );
+}
+
+export default Layout;