ਸਮੱਗਰੀ ਤੇ ਜਾਓ
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 ਪੈਕੇਜ