import React, { ReactNode } from "react"; import NavBar from "./NavBar"; import Footer from "./Footer"; type Props = { children?: React.ReactNode; }; const Layout = ({ children }: Props) =>