सामग्री पर जाएँ
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 पैकेज