From f030f1806255c66b86689489d24f8f5ad9b832ce Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Wed, 19 Nov 2025 23:54:49 +0100
Subject: feat: Implement StopMapModal component for displaying bus stop
 locations with live tracking; enhance styles and add interaction features

---
 src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx')

diff --git a/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx b/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx
index 047dfd4..4c2916a 100644
--- a/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx
+++ b/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx
@@ -9,12 +9,14 @@ interface RegularTableProps {
   data: ConsolidatedCirculation[];
   dataDate: Date | null;
   regionConfig: RegionConfig;
+  onCirculationClick?: (estimate: ConsolidatedCirculation, index: number) => void;
 }
 
 export const ConsolidatedCirculationList: React.FC<RegularTableProps> = ({
   data,
   dataDate,
   regionConfig,
+  onCirculationClick,
 }) => {
   const { t } = useTranslation();
 
@@ -43,6 +45,7 @@ export const ConsolidatedCirculationList: React.FC<RegularTableProps> = ({
               key={idx}
               estimate={estimate}
               regionConfig={regionConfig}
+              onMapClick={() => onCirculationClick?.(estimate, idx)}
             />
           ))}
         </>
-- 
cgit v1.3

