'use client' import { ChevronRight, BookOpen, Clock } from 'lucide-react' import { CanonicalControl, SeverityBadge, StateBadge, LicenseRuleBadge, VerificationMethodBadge, CategoryBadge, EvidenceTypeBadge, TargetAudienceBadge, GenerationStrategyBadge, ObligationTypeBadge } from './helpers' interface ControlListItemProps { ctrl: CanonicalControl sortBy: string prevSource: string | null onClick: () => void } export function ControlListItem({ ctrl, sortBy, prevSource, onClick }: ControlListItemProps) { const curSource = ctrl.source_citation?.source || 'Ohne Quelle' const showSourceHeader = sortBy === 'source' && curSource !== prevSource return (