Přeskočit na obsah
Yuva chat conversationsNabídka

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áhled běží na ukázkových datech. Nepotřebuje síť ani kanál.

Instalace

Spusťte to v projektu shadcn. Soubory se zkopírují do vašeho vlastního kódu.

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

Použití

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 jsou uvedeny na stránce Yuva chat.

Závislosti

Instalace této položky přidá také následující.

Komponenty shadcn/ui

Další položky Yuva

Balíčky npm