15 lines
402 B
TypeScript
15 lines
402 B
TypeScript
import { Layout, LayoutContent, LayoutHeader } from "@/components";
|
|
import { PropsWithChildren } from "react";
|
|
import { CatalogProvider } from "./CatalogContext";
|
|
|
|
export const CatalogLayout = ({ children }: PropsWithChildren) => {
|
|
return (
|
|
<CatalogProvider>
|
|
<Layout>
|
|
<LayoutHeader />
|
|
<LayoutContent>{children}</LayoutContent>
|
|
</Layout>
|
|
</CatalogProvider>
|
|
);
|
|
};
|