உள்ளடக்கத்துக்குச் செல்
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 தொகுப்புகள்