মূল অংশে যান
Yuva helpমেনু

Yuva help

The help center in one block: search, the best matches for the page or the popular articles, collections, the article view with its rating and related articles, and a Message us row.

Still stuck?Ask the team, we read every message.

প্রিভিউ নমুনা ডেটায় চলে। এর জন্য নেটওয়ার্কও লাগে না, চ্যানেলও লাগে না।

ইনস্টলেশন

এটি একটি shadcn প্রকল্পে চালান। ফাইলগুলো আপনার নিজের কোডে কপি হয়।

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

ব্যবহার

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

<YuvaHelp server={server} channel={channel} page="/billing" onAsk={() => chat.open()} />

Props

YuvaHelpProps

Propধরন
server?string
channel?string
client?YuvaClient
identityToken?IdentityTokenSource | null
locale?string
page?string
articleId?string
onAsk?(articleId?: string) => void
labels?Partial<YuvaHelpLabels>
className?string

লেবেল

প্রতিটি লেবেলের একটি ইংরেজি ডিফল্ট আছে। বদলাতে বা অনুবাদ করতে labels অবজেক্টের একটি অংশ দিন।

লেবেলডিফল্ট
heading"Help center"
searchLabel"Search for help"
searchPlaceholder"Search for help"
bestMatches"Best matches"
popular"Popular articles"
browse"Browse"
noResults"No articles found."
searching"Searching…"
helpfulQuestion"Was this helpful?"
yes"Yes"
no"No"
thanks"Thanks for your feedback"
related"Related articles"
back"Back"
stillStuck"Still stuck?"
askText"Ask the team, we read every message."
messageUs"Message us"
loadError"Could not load this."
retry"Try again"
loading"Loading…"
articles(count) => `${count} ${count === 1 ? "article" : "articles"}`

নির্ভরতা

এই আইটেম ইনস্টল করলে নিচেরগুলোও যোগ হয়।

shadcn/ui-এর কম্পোনেন্ট

Yuva-র অন্যান্য আইটেম

npm প্যাকেজ