'use client' import { getContactInitials, getRoleLabel, getRoleColor, type Contact, } from '@/lib/MessagesContext' interface NewConversationModalProps { isDark: boolean contacts: Contact[] onStartConversation: (contact: Contact) => void onClose: () => void } export function NewConversationModal({ isDark, contacts, onStartConversation, onClose }: NewConversationModalProps) { return (
{/* Header */}

Neue Nachricht

{/* Contact List */}
{contacts.length === 0 ? (

Keine Kontakte vorhanden

) : (
{contacts.map((contact) => ( ))}
)}
) }