import { Layers, X } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import type { PlateMetadata } from '../types/plates'; import { withStreamToken } from '../api/client'; import { formatDuration } from '../utils/date'; interface PlatePickerModalProps { plates: PlateMetadata[]; onSelect: (plateIndex: number) => void; onClose: () => void; } export function PlatePickerModal({ plates, onSelect, onClose }: PlatePickerModalProps) { const { t } = useTranslation(); return (
e.stopPropagation()} > {/* Header */}

{t('archives.platePicker.title')}

{t('archives.platePicker.hint')}

{/* Grid */}
{plates.map((plate) => ( ))}
); }