import type { ReactNode } from "react";

interface ChatLayoutProps {
  sidebar: ReactNode;
  children: ReactNode;
}

export default function ChatLayout({ sidebar, children }: ChatLayoutProps) {
  return (
    <div className="flex h-screen bg-neutral-50 overflow-hidden">
      {sidebar}
      <div className="flex-1 flex flex-col min-w-0 relative">
        {children}
      </div>
    </div>
  );
}
