உள்ளடக்கத்துக்குச் செல்
Yuva help searchமெனு

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.

முன்னோட்டம் மாதிரித் தரவில் இயங்குகிறது. நெட்வொர்க்கோ சேனலோ தேவையில்லை.

நிறுவல்

இதை ஒரு shadcn திட்டத்தில் இயக்குங்கள். கோப்புகள் உங்கள் சொந்தக் குறியீட்டில் நகலெடுக்கப்படும்.

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

பயன்பாடு

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

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

Props

YuvaHelpSearchProps

Propவகை
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

லேபிள்கள்

லேபிள்கள் Yuva help பக்கத்தில் பட்டியலிடப்பட்டுள்ளன.

சார்புகள்

இந்த உருப்படியை நிறுவினால் கீழுள்ளவையும் சேர்க்கப்படும்.

shadcn/ui கூறுகள்

Yuva-வின் பிற உருப்படிகள்

npm தொகுப்புகள்