مواد پر جائیں
Yuva chat conversationsمینو

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.

پیش منظر نمونہ ڈیٹا پر چلتا ہے۔ اسے نہ نیٹ ورک چاہیے نہ چینل۔

انسٹالیشن

اسے ایک shadcn پراجیکٹ میں چلائیں۔ فائلیں آپ کے اپنے کوڈ میں کاپی ہو جاتی ہیں۔

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

استعمال

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

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

Props

YuvaChatConversationsProps

Propقسم
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
onOpen?(id: string | null) => void
className?string

لیبلز

لیبلز Yuva chat صفحے پر درج ہیں۔

انحصار

اس آئٹم کو انسٹال کرنے سے درج ذیل بھی شامل ہو جاتے ہیں۔

shadcn/ui کے کمپونینٹس

Yuva کے دیگر آئٹمز

npm پیکیجز