import type { KanbanTask, TaskStatus } from "@xtablo/shared-types";
import { GanttChart } from "./components/gantt/GanttChart";

interface RoadmapSectionProps {
  tabloTasks: KanbanTask[];
  onDateClick: (date: Date) => void;
  onTaskStatusChange: (taskId: string, status: TaskStatus) => void;
}

export function RoadmapSection({
  tabloTasks,
  onDateClick,
  onTaskStatusChange,
}: RoadmapSectionProps) {
  return (
    <GanttChart
      tasks={tabloTasks}
      isLoading={false}
      onDateClick={onDateClick}
      onTaskStatusChange={onTaskStatusChange}
    />
  );
}
