مواد پر جائیں
Yuva help articleمینو

Yuva help article

One help article with its sanitized body, a Was this helpful? Yes and No rating, related articles and a Message us button that hands the article id to your chat.

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

انسٹالیشن

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

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

استعمال

tsx
import { YuvaHelpArticle } from "@/components/yuva-help-article"

<YuvaHelpArticle server={server} channel={channel} id={articleId} onAsk={(id) => chat.open(id)} />

Props

YuvaHelpArticleProps

Propقسم
idstring
server?string
channel?string
client?YuvaClient
identityToken?IdentityTokenSource | null
locale?string
help?YuvaHelpState
search?string
onSelect?(article: ClientHelpArticleSummary) => void
onAsk?(articleId: string) => void
labels?Partial<YuvaHelpLabels>
className?string

لیبلز

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

انحصار

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

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

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

npm پیکیجز