NEW_CPM/resources/js/layouts/app/app-header-layout.tsx
2025-04-02 17:49:09 +05:45

15 lines
540 B
TypeScript

import { AppContent } from '@/components/app-content';
import { AppHeader } from '@/components/app-header';
import { AppShell } from '@/components/app-shell';
import { type BreadcrumbItem } from '@/types';
import type { PropsWithChildren } from 'react';
export default function AppHeaderLayout({ children, breadcrumbs }: PropsWithChildren<{ breadcrumbs?: BreadcrumbItem[] }>) {
return (
<AppShell>
<AppHeader breadcrumbs={breadcrumbs} />
<AppContent>{children}</AppContent>
</AppShell>
);
}