import { Lock, Unlock } from 'lucide-react' import { useTranslation } from '../../i18n' import { MapTogglePill } from './MapTogglePill' /** * Locks the map view (#2010): picking days and places then leaves the camera where it is. * Sits on top of the base-layer switcher, the other control about the view itself. */ export function MapLockPill({ locked, onToggle }: { locked: boolean; onToggle: () => void }) { const { t } = useTranslation() return ( : } /> ) }