Ir para o conteúdo
Yuva chat conversationsMenu

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.

A prévia usa dados de exemplo. Ela não precisa de rede nem de canal.

Instalação

Execute isto em um projeto shadcn. Os arquivos são copiados para o seu próprio código.

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

Uso

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

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

Props

YuvaChatConversationsProps

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

Rótulos

Os rótulos estão listados em Yuva chat.

Dependências

Instalar este item também adiciona o seguinte.

Componentes do shadcn/ui

Outros itens do Yuva

Pacotes npm