tubearchivist-frontend/app/components/Layout.tsx

19 lines
298 B
TypeScript
Raw Permalink Normal View History

import { Footer } from "./Footer";
import { Nav } from "./Nav";
2022-10-18 19:28:37 +00:00
type Props = {
children: React.ReactNode;
};
export const Layout = ({ children }: Props) => {
return (
<>
<div className="main-content">
<Nav />
{children}
</div>
<Footer />
</>
);
};