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