"use client"; import { X } from "lucide-react"; import { MAP_MAJOR_PANEL_RADIUS_CLASS_NAME, MAP_READABLE_RADIUS_CLASS_NAME } from "@/features/map/core/components/map-control-styles"; import { cn } from "@/lib/utils"; import type { DetailFeature } from "../types"; import { getLocalizedFeatureProperties } from "../utils/feature-properties"; type FeaturePopoverProps = { feature: DetailFeature | null; onClose: () => void; }; export function FeaturePopover({ feature, onClose }: FeaturePopoverProps) { if (!feature) { return null; } const entries = getLocalizedFeatureProperties(feature.properties).slice(0, 4); return ( ); }