মূল অংশে যান
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 প্যাকেজ