import { Sidebar } from './sidebar';
import { Header } from './header';

interface DashboardShellProps {
  children: React.ReactNode;
  title: string;
  headerContent?: React.ReactNode;
}

export function DashboardShell({ children, title, headerContent }: DashboardShellProps) {
  return (
    <div className="min-h-screen bg-background">
      <Sidebar />
      <div className="pl-64">
        <Header title={title}>{headerContent}</Header>
        <main className="p-6">{children}</main>
      </div>
    </div>
  );
}
