Presupuestador_web/client/src/app/quotes/layout.tsx

17 lines
494 B
TypeScript
Raw Normal View History

import { Layout, LayoutContent, LayoutHeader, ProtectedRoute } from "@/components";
2024-10-01 10:21:08 +00:00
import { PropsWithChildren } from "react";
2024-06-29 19:39:25 +00:00
import { QuotesProvider } from "./QuotesContext";
2024-10-01 10:21:08 +00:00
export const QuotesLayout = ({ children }: PropsWithChildren) => {
return (
<ProtectedRoute>
<QuotesProvider>
2024-10-01 10:21:08 +00:00
<Layout className='quotes-layout'>
<LayoutHeader />
2024-10-01 10:21:08 +00:00
<LayoutContent>{children}</LayoutContent>
</Layout>
</QuotesProvider>
</ProtectedRoute>
);
2024-06-29 19:39:25 +00:00
};