import { MessageCircle, Phone } from 'lucide-react' import { formatPhoneDisplay } from '../../lib/format' import { cn } from '../../lib/utils' import { ACTION_BUTTON_CLASS, PRIMARY_ACTION_CLASS } from './actionButton' import { useAttendeeDetail } from './AttendeeDetailProvider' export function AttendeeContactActions() { const { attendee } = useAttendeeDetail() const phone = attendee?.phone const digits = phone?.replace(/\D/g, '') ?? '' const label = formatPhoneDisplay(phone) ?? attendee?.fullName ?? 'el miembro' return (
{phone ? ( ) : ( )} {phone ? ( ) : ( )}
{!phone ? (

Agregá un teléfono para usar estas acciones

) : null}
) }