'use client' import { type ReactNode } from 'react' import { Group, Panel, Separator, usePanelRef } from 'react-resizable-panels' import { CampaignAIFab } from '@/components/campaign/shell/ai/CampaignAIFab' import { CampaignAISidebar } from '@/components/campaign/shell/ai/CampaignAISidebar' import { CampaignAISidebarProvider } from '@/components/campaign/shell/ai/CampaignAISidebarContext' const CHAT_MIN_PX = '280px' const CHAT_DEFAULT_PCT = '25' const MAIN_MIN_PCT = '35' export const CampaignAISidebarShell = ({ children }: { children: ReactNode }) => { const panelRef = usePanelRef() return ( {/* Main content */}
{children}
{/* Resize handle */}
{/* AI chat sidebar — collapsible, controlled by context */} ) }