Přeskočit na obsah
Yuva help articleNabídka

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.

Náhled běží na ukázkových datech. Nepotřebuje síť ani kanál.

Instalace

Spusťte to v projektu shadcn. Soubory se zkopírují do vašeho vlastního kódu.

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

Použití

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

Popisky

Popisky jsou uvedeny na stránce Yuva help.

Závislosti

Instalace této položky přidá také následující.

Komponenty shadcn/ui

Další položky Yuva

Balíčky npm