web-humas-fe/components/layout/PPIDAdminLayout.tsx

22 lines
620 B
TypeScript
Raw Normal View History

2024-03-04 08:36:22 +00:00
"use client";
2024-03-07 03:33:43 +00:00
import React from "react";
2024-03-04 08:36:22 +00:00
import PPIDAdminNavbarWrapper from "../navbar/PPIDAdminNavbarWrapper";
2024-03-07 03:33:43 +00:00
import PPIDAdminSidebarWrapper from "../navbar/PPIDAdminSidebarWrapper";
2024-03-04 08:36:22 +00:00
interface Props {
children: React.ReactNode;
pageTitle?: string;
}
export const PPIDAdminLayout = ({ children, pageTitle }: Props) => {
return (
<section className="flex text-black dark:text-white dark:bg-[#0b2948] border-2 border-red-500">
<PPIDAdminSidebarWrapper />
<PPIDAdminNavbarWrapper>
{children}
</PPIDAdminNavbarWrapper>
</section>
);
};