"use client";
import React, { Children } from "react";
import PPIDAdminSidebarWrapper from "../navbar/PPIDAdminSidebarWrapper";
import PPIDAdminNavbarWrapper from "../navbar/PPIDAdminNavbarWrapper";

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>
    );
};
