Initial commit
This commit is contained in:
commit
fa30c04815
117 changed files with 33513 additions and 0 deletions
17
src/components/Layout/Layout.tsx
Normal file
17
src/components/Layout/Layout.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import React from 'react';
|
||||
import { RouteComponentProps } from '@reach/router';
|
||||
import { Header } from '../Header';
|
||||
|
||||
type DashboardProps = RouteComponentProps;
|
||||
|
||||
const Layout: React.FC<DashboardProps> = ({ children }) => {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
1
src/components/Layout/index.ts
Normal file
1
src/components/Layout/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default as Layout } from './Layout';
|
||||
Reference in a new issue