diff --git a/client/src/pages/TeslaTripPlanner.tsx b/client/src/pages/TeslaTripPlanner.tsx index 23db5b1..530b941 100644 --- a/client/src/pages/TeslaTripPlanner.tsx +++ b/client/src/pages/TeslaTripPlanner.tsx @@ -245,7 +245,7 @@ const AMENITY_ICONS: Record = { }; // ─── Stop meta (icon + accent colour per type) ─────────────────────────────── -type IconComponent = React.ComponentType<{ className?: string; size?: number | string }>; +type IconComponent = React.ComponentType<{ className?: string; size?: number | string; style?: React.CSSProperties }>; function stopMeta(type: StopType): { icon: IconComponent; color: string } { switch (type) { case 'origin': return { icon: HomeIcon, color: '#9ca3af' };