본문으로 건너뛰기
Yuva chat conversations메뉴

Yuva chat conversations

The visitor's conversations as rows with the last message, time and an unread dot, and an empty state.

No conversations yet
Start one and we will answer here.

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

설치

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

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

사용법

tsx
import { YuvaChatConversations } from "@/components/yuva-chat-conversations"

<YuvaChatConversations chat={chat} onOpen={(id) => setView("thread")} />

Props

YuvaChatConversationsProps

Prop유형
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
onOpen?(id: string | null) => void
className?string

레이블

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

의존성

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

shadcn/ui 컴포넌트

다른 Yuva 항목

npm 패키지