İçeriğe geç
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.

Önizleme örnek verilerle çalışır. Ağa da kanala da ihtiyaç duymaz.

Kurulum

Bunu bir shadcn projesinde çalıştırın. Dosyalar kendi kodunuzun içine kopyalanır.

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

Kullanım

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

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

Prop'lar

YuvaChatConversationsProps

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

Etiketler

Etiketler Yuva chat sayfasında listelenir.

Bağımlılıklar

Bu öğeyi kurmak aşağıdakileri de ekler.

shadcn/ui bileşenleri

Diğer Yuva öğeleri

npm paketleri