본문으로 건너뛰기
Yuva help article메뉴

Yuva help article

One help article with its sanitized body, a Was this helpful? Yes and No rating, related articles and a Message us button that hands the article id to your chat.

미리보기는 샘플 데이터로 동작합니다. 네트워크도 채널도 필요 없습니다.

설치

shadcn 프로젝트에서 실행하세요. 파일이 여러분의 코드로 복사됩니다.

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

사용법

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

<YuvaHelpArticle server={server} channel={channel} id={articleId} onAsk={(id) => chat.open(id)} />

Props

YuvaHelpArticleProps

Prop유형
idstring
server?string
channel?string
client?YuvaClient
identityToken?IdentityTokenSource | null
locale?string
help?YuvaHelpState
search?string
onSelect?(article: ClientHelpArticleSummary) => void
onAsk?(articleId: string) => void
labels?Partial<YuvaHelpLabels>
className?string

레이블

레이블 목록은 Yuva help 페이지에 있습니다.

의존성

이 항목을 설치하면 다음도 함께 추가됩니다.

shadcn/ui 컴포넌트

다른 Yuva 항목

npm 패키지