Sari la conținut
Yuva chat conversationsMeniu

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.

Previzualizarea rulează pe date de exemplu. Nu are nevoie de rețea și nici de canal.

Instalare

Rulează asta într-un proiect shadcn. Fișierele sunt copiate în codul tău.

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

Utilizare

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

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

Props

YuvaChatConversationsProps

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

Etichete

Etichetele sunt listate pe pagina Yuva chat.

Dependențe

Instalarea acestui element adaugă și următoarele.

Componente din shadcn/ui

Alte elemente Yuva

Pachete npm