import { Box, Typography } from '@mui/material' import { CheckCircle2 } from 'lucide-react' import type { MatchCardReason } from './MatchCardViewModel' interface Props { reasons: MatchCardReason[] maxItems?: number } export function MatchReasonList({ reasons, maxItems = 3 }: Props) { if (reasons.length === 0) return null const shown = reasons.slice(0, maxItems) return ( Warum dieses Match {shown.map((r, i) => ( {r.label} {r.explanation && ( {r.explanation} )} ))} ) }