Ugrás a tartalomra
Yuva help articleMenü

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.

Az előnézet mintaadatokon fut. Nem kell hozzá hálózat vagy csatorna.

Telepítés

Futtasd ezt egy shadcn-projektben. A fájlok a saját kódodba másolódnak.

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

Használat

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

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

Props

YuvaHelpArticleProps

PropTípus
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

Címkék

A címkék a(z) Yuva help oldalon vannak felsorolva.

Függőségek

Az elem telepítése a következőket is hozzáadja.

A shadcn/ui komponensei

További Yuva-elemek

npm-csomagok