mirror of
https://github.com/AnmolSaini16/mapcn
synced 2026-04-26 08:24:56 +02:00
18 lines
415 B
TypeScript
18 lines
415 B
TypeScript
import { SidebarProvider } from "@/components/ui/sidebar";
|
|
import { DocsSidebar } from "./_components/docs-sidebar";
|
|
|
|
export default function DocsLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="container flex flex-col flex-1">
|
|
<SidebarProvider>
|
|
<DocsSidebar />
|
|
<main className="size-full">{children}</main>
|
|
</SidebarProvider>
|
|
</div>
|
|
);
|
|
}
|