Skip to content

Commit

Permalink
ItineraryPreviewSupplement more props
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Jun 26, 2024
1 parent a1c1996 commit 0133041
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/components/narrative/metro/metro-itinerary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,10 @@ class MetroItinerary extends NarrativeItinerary {
<ItineraryGrid className="itin-grid" role="group">
{/* TODO: a11y: add aria-label to parent element */}
{ItineraryPreviewSupplement && (
<ItineraryPreviewSupplement itinerary={itinerary} />
<ItineraryPreviewSupplement
active={active}
itinerary={itinerary}
/>
)}
<MetroItineraryRoutes
expanded={expanded}
Expand Down

0 comments on commit 0133041

Please sign in to comment.