Siirry sisältöön
Yuva chat conversationsValikko

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.

Esikatselu käyttää esimerkkitietoja. Se ei tarvitse verkkoa eikä kanavaa.

Asennus

Suorita tämä shadcn-projektissa. Tiedostot kopioidaan omaan koodiisi.

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

Käyttö

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

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

Props

YuvaChatConversationsProps

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

Tekstit

Tekstit on lueteltu sivulla Yuva chat.

Riippuvuudet

Tämän kohteen asentaminen lisää myös seuraavat.

shadcn/ui-komponentit

Muut Yuva-kohteet

npm-paketit