Preskoči na vsebino
Yuva chat conversationsMeni

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.

Predogled uporablja vzorčne podatke. Ne potrebuje omrežja ne kanala.

Namestitev

To zaženite v projektu shadcn. Datoteke se skopirajo v vašo kodo.

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

Uporaba

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

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

Props

YuvaChatConversationsProps

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

Oznake

Oznake so navedene na strani Yuva chat.

Odvisnosti

Z namestitvijo tega elementa se dodajo tudi naslednji.

Komponente shadcn/ui

Drugi elementi Yuva

Paketi npm