AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

app-sidebar-layout.tsx 678B

1234567891011121314151617181920
  1. import { AppContent } from '@/components/app-content';
  2. import { AppShell } from '@/components/app-shell';
  3. import { AppSidebar } from '@/components/app-sidebar';
  4. import { AppSidebarHeader } from '@/components/app-sidebar-header';
  5. import type { AppLayoutProps } from '@/types';
  6. export default function AppSidebarLayout({
  7. children,
  8. breadcrumbs = [],
  9. }: AppLayoutProps) {
  10. return (
  11. <AppShell variant="sidebar">
  12. <AppSidebar />
  13. <AppContent variant="sidebar" className="min-w-0 overflow-x-clip">
  14. <AppSidebarHeader breadcrumbs={breadcrumbs} />
  15. {children}
  16. </AppContent>
  17. </AppShell>
  18. );
  19. }