import React from 'react'; import { Mic, Settings, ShieldAlert, Sparkles, Video } from 'lucide-react'; interface HeaderProps { activeTab: 'audio' | 'video' | 'post-production' | 'playground'; tabs: Array<{ id: 'audio' | 'video' | 'post-production' | 'playground'; label: string; enabled: boolean }>; runtimeMode: string; onSelectTab: (tab: 'audio' | 'video' | 'post-production' | 'playground') => void; onOpenAccessHelp: () => void; } const TAB_ICONS = { playground: Sparkles, audio: Mic, video: Video, 'post-production': Settings, } as const; export function Header({ activeTab, tabs, runtimeMode, onSelectTab, onOpenAccessHelp }: HeaderProps) { return (

OmniVoice Studio

{runtimeMode.replace('_', ' ')}

{tabs.map((tab) => { const Icon = TAB_ICONS[tab.id]; const isActive = activeTab === tab.id; return ( ); })}
); }