You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The_Tip_Top/components/Layout.tsx

18 lines
310 B

import React, { ReactNode } from "react";
import NavBar from "./NavBar";
import Footer from "./Footer";
type Props = {
children?: React.ReactNode;
};
const Layout = ({ children }: Props) =>
<div className="layout-container">
<NavBar />
{children}
<Footer />
</div>
export default Layout;