मजकुराकडे जा
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 पॅकेजेस