Ugrás a tartalomra
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.

Az előnézet mintaadatokon fut. Nem kell hozzá hálózat vagy csatorna.

Telepítés

Futtasd ezt egy shadcn-projektben. A fájlok a saját kódodba másolódnak.

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

Használat

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

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

Props

YuvaChatConversationsProps

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

Címkék

A címkék a(z) Yuva chat oldalon vannak felsorolva.

Függőségek

Az elem telepítése a következőket is hozzáadja.

A shadcn/ui komponensei

További Yuva-elemek

npm-csomagok