Zum Inhalt springen
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.

Die Vorschau läuft mit Beispieldaten. Sie braucht weder Netzwerk noch Kanal.

Installation

Führen Sie das in einem shadcn-Projekt aus. Die Dateien werden in Ihren eigenen Code kopiert.

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

Verwendung

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

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

Props

YuvaHelpArticleProps

PropTyp
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

Beschriftungen

Die Beschriftungen stehen auf der Seite Yuva help.

Abhängigkeiten

Die Installation dieses Elements fügt auch Folgendes hinzu.

Komponenten von shadcn/ui

Weitere Yuva-Elemente

npm-Pakete