tubearchivist-frontend/app/components/Layout.tsx
Sean Norwood 470c7a136f
Updates
Signed-off-by: Sean Norwood <norwood.sean@gmail.com>
2023-08-06 11:10:55 -05:00

19 lines
298 B
TypeScript

import { Footer } from "./Footer";
import { Nav } from "./Nav";
type Props = {
children: React.ReactNode;
};
export const Layout = ({ children }: Props) => {
return (
<>
<div className="main-content">
<Nav />
{children}
</div>
<Footer />
</>
);
};