Preskočiť na obsah
Yuva chat conversationsPonuka

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.

Náhľad beží na ukážkových dátach. Nepotrebuje sieť ani kanál.

Inštalácia

Spustite to v projekte shadcn. Súbory sa skopírujú do vášho vlastného kódu.

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

Použitie

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

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

Props

YuvaChatConversationsProps

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

Popisky

Popisky sú uvedené na stránke Yuva chat.

Závislosti

Inštalácia tejto položky pridá aj nasledovné.

Komponenty shadcn/ui

Ďalšie položky Yuva

Balíčky npm