सामग्री पर जाएँ
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 पैकेज