'use client' type TabId = 'overview' | 'lessons' | 'enrollments' | 'videos' interface CourseTabsProps { activeTab: TabId onTabChange: (tab: TabId) => void } const TAB_LABELS: Record = { overview: 'Uebersicht', lessons: 'Lektionen', enrollments: 'Einschreibungen', videos: 'Videos', } export function CourseTabs({ activeTab, onTabChange }: CourseTabsProps) { return (
) }