import { Building2, BusFront, MapPin } from "lucide-react"; import type { PlannerSearchResult } from "~/data/PlannerApi"; function getIcon(layer?: string) { switch ((layer || "").toLowerCase()) { case "stop": return ( ); case "venue": return ( ); case "address": case "street": case "favourite-stop": case "current-location": default: return ; } } export default function PlaceListItem({ place, onClick, }: { place: PlannerSearchResult; onClick: (place: PlannerSearchResult) => void; }) { return (
  • ); }