'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 */}
{/* Contact List */}
{contacts.length === 0 ? (
) : (
{contacts.map((contact) => (
))}
)}
)
}