- Updated import paths for various components to align with new directory structure. - Changed imports from 'row-actions', 'confirm-dialog', 'image-preview-button', and 'file-upload' to their respective new locations in 'data-display', 'dialogs', and 'inputs'. - Adjusted imports in multiple pages including purchase, restock, transaction, category, customer, product, raw-material, supplier, roles, and settings. - Ensured all relevant components are imported from their new locations to maintain functionality.
24 lines
715 B
TypeScript
24 lines
715 B
TypeScript
import { AppContent } from '@/components/layout';
|
|
import { AppShell } from '@/components/layout';
|
|
import { AppSidebar } from '@/components/layout';
|
|
import { AppSidebarHeader } from '@/components/layout';
|
|
import type { AppLayoutProps } from '@/types';
|
|
|
|
export default function AppSidebarLayout({
|
|
children,
|
|
breadcrumbs = [],
|
|
}: AppLayoutProps) {
|
|
return (
|
|
<AppShell variant="sidebar">
|
|
<AppSidebar />
|
|
<AppContent
|
|
variant="sidebar"
|
|
className="flex-1 overflow-x-hidden overflow-y-auto"
|
|
>
|
|
<AppSidebarHeader breadcrumbs={breadcrumbs} />
|
|
{children}
|
|
</AppContent>
|
|
</AppShell>
|
|
);
|
|
}
|