mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 05:00:16 +00:00
470c7a136f
Signed-off-by: Sean Norwood <norwood.sean@gmail.com>
19 lines
298 B
TypeScript
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 />
|
|
</>
|
|
);
|
|
};
|