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

24 lines
378 B

import React, { ReactNode } from "react";
import NavBar from "./NavBar";
import Footer from "./Footer";
import Content from "./Content";
type Props = {
children?: React.ReactNode;
};
const layoutStyle = {
height: "100vh"
}
const Layout = ({ children }: Props) =>
<div style={layoutStyle}>
<NavBar />
{children}
<Footer />
</div>
export default Layout;