import type { Lesson } from "@/types/course"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; import { cn } from "@/lib/utils"; type LessonRowProps = { index: number; lesson: Lesson; isActive: boolean; isLocked: boolean; onSelect: () => void; }; const typeColors: Record = { video: "bg-red-50 text-red-600 dark:bg-red-900/20 dark:text-red-400", reading: "bg-green-50 text-green-600 dark:bg-green-900/20 dark:text-green-400", interactive: "bg-blue-50 text-blue-600 dark:bg-blue-900/20 dark:text-blue-400", }; export default function LessonRow({ index, lesson, isActive, isLocked, onSelect }: LessonRowProps) { return ( ); }