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.
|
import React, { ReactNode } from "react";
|
|
import NavBar from "./NavBar";
|
|
import Footer from "./Footer";
|
|
|
|
|
|
type Props = {
|
|
children?: React.ReactNode;
|
|
};
|
|
|
|
const Layout = ({ children }: Props) =>
|
|
<div>
|
|
<NavBar />
|
|
{children}
|
|
<Footer />
|
|
</div>
|
|
|
|
export default Layout;
|
|
|