Preskoči na sadržaj
Yuva chat threadIzbornik

Yuva chat thread

One conversation: grouped messages, day separators, system events, attachments, link bubbles, typing, seen state, a top fade and a scroller that sticks to the bottom with a jump-to-latest pill showing the unread count.

Say hello
Hi, ask us anything about Acme.

Pregled radi s primjerom podataka. Ne treba mu mreža ni kanal.

Instalacija

Pokrenite ovo u shadcn projektu. Datoteke se kopiraju u vaš vlastiti kôd.

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

Upotreba

tsx
import { YuvaChatThread } from "@/components/yuva-chat-thread"

<YuvaChatThread chat={chat} />

Props

YuvaChatThreadProps

PropVrsta
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
greeting?string
lined?boolean
className?string

Oznake

Oznake su navedene na stranici Yuva chat.

Ovisnosti

Instalacijom ovog elementa dodaje se i sljedeće.

Komponente iz shadcn/ui

Ostali Yuva elementi

npm paketi