Sari la conținut
Yuva help articleMeniu

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.

Previzualizarea rulează pe date de exemplu. Nu are nevoie de rețea și nici de canal.

Instalare

Rulează asta într-un proiect shadcn. Fișierele sunt copiate în codul tău.

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

Utilizare

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

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

Props

YuvaHelpArticleProps

PropTip
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

Etichete

Etichetele sunt listate pe pagina Yuva help.

Dependențe

Instalarea acestui element adaugă și următoarele.

Componente din shadcn/ui

Alte elemente Yuva

Pachete npm