కంటెంట్‌కు వెళ్ళు
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 ప్యాకేజీలు