Ugrás a tartalomra
Yuva help searchMenü

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.

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

Használat

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

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

Props

YuvaHelpSearchProps

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

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