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

Yuva help search

A search field over the help center with live results: the matched words highlighted in the title and excerpt, and the click counted for the report.

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-search.json

Použití

tsx
import { YuvaHelpSearch } from "@/components/yuva-help-search"

<YuvaHelpSearch server={server} channel={channel} onSelect={(article) => setId(article.id)} />

Props

YuvaHelpSearchProps

PropTyp
server?string
channel?string
client?YuvaClient
identityToken?IdentityTokenSource | null
locale?string
help?YuvaHelpState
query?string
onQueryChange?(query: string) => void
onSelect?(article: ClientHelpArticleSummary, query: 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