import { Box, Typography } from '@mui/material' import type { ReminderPriority } from '../../domain/reminder' const CONFIG: Record = { URGENT: { color: '#dc2626', label: 'Dringend' }, HIGH: { color: '#ea580c', label: 'Hoch' }, MEDIUM: { color: '#ca8a04', label: 'Mittel' }, LOW: { color: '#94a3b8', label: 'Niedrig' }, } interface Props { priority: ReminderPriority } export function ReminderPriorityBadge({ priority }: Props) { const { color, label } = CONFIG[priority] return ( {label} ) }