import { FC, ReactNode } from "react"; // layouts import { AdminAuthWrapper, UserAuthWrapper } from "layouts/auth-layout"; // components import { InstanceAdminSidebar } from "./sidebar"; export interface IInstanceAdminLayout { children: ReactNode; header: ReactNode; } export const InstanceAdminLayout: FC = (props) => { const { children, header } = props; return ( <>
{header}
<>{children}
); };