import type { Lesson } from "@/types/course"; type LessonRowProps = { index: number; lesson: Lesson; isActive: boolean; isLocked: boolean; onSelect: () => void; }; const typeColors: Record = { video: "bg-[#ffecee] text-[#ca4d6f]", reading: "bg-[#ecfbf4] text-[#2f9d73]", interactive: "bg-[#eef4ff] text-[#6288da]", }; export default function LessonRow({ index, lesson, isActive, isLocked, onSelect }: LessonRowProps) { return ( ); }