Saltar al contenido
Yuva chat conversationsMenú

Yuva chat conversations

The visitor's conversations as rows with the last message, time and an unread dot, and an empty state.

No conversations yet
Start one and we will answer here.

La vista previa usa datos de ejemplo. No necesita red ni canal.

Instalación

Ejecuta esto en un proyecto de shadcn. Los archivos se copian a tu propio código.

Shell
npx shadcn@latest add https://useyuva.com/r/yuva-chat-conversations.json

Uso

tsx
import { YuvaChatConversations } from "@/components/yuva-chat-conversations"

<YuvaChatConversations chat={chat} onOpen={(id) => setView("thread")} />

Props

YuvaChatConversationsProps

PropTipo
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
onOpen?(id: string | null) => void
className?string

Etiquetas

Las etiquetas se enumeran en Yuva chat.

Dependencias

Instalar este elemento también añade lo siguiente.

Componentes de shadcn/ui

Otros elementos de Yuva

Paquetes de npm