2024-04-24 16:38:02 +02:00

20 lines
479 B
TypeScript

import Head from "next/head";
import { ReactNode } from "react";
type DefaultLayoutProps = { children: ReactNode };
import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
export const DefaultLayout = ({ children }: DefaultLayoutProps) => {
return (
<>
<Head>
<title>LEcoffre</title>
{/* <link rel="shortcut icon" href="/favicon.svg" /> */}
</Head>
<main>
{children}
<ToastContainer />
</main>
</>
);
};