Files
Frontend/src/app/(pages)/docs/layout.tsx
2024-04-21 17:39:56 +01:00

16 lines
375 B
TypeScript

import React, { ReactElement } from "react";
import { Sidebar } from "@/app/components/docs/sidebar";
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>): ReactElement {
return (
<div className="w-full flex flex-col items-center gap-2 h-full md:flex-row md:items-start">
<Sidebar />
{children}
</div>
);
}