aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/Header/index.tsx
blob: 42a0cfc1bc494d7bc08959cdfe659bc76a1c8423 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;