Ugrás a tartalomra
Yuva chat composerMenü

Yuva chat composer

A message box with chips for attached files, an attach button, an optional screenshot button, an Enter to send hint and a send button.

Az előnézet mintaadatokon fut. Nem kell hozzá hálózat vagy csatorna.

Telepítés

Futtasd ezt egy shadcn-projektben. A fájlok a saját kódodba másolódnak.

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

Használat

tsx
import { YuvaChatComposer } from "@/components/yuva-chat-composer"

<YuvaChatComposer chat={chat} />

Props

YuvaChatComposerProps

PropTípus
chatYuvaChatState
labels?Partial<YuvaChatLabels>
locale?string
disabled?boolean
onCapture?() => File | null | undefined | Promise<File | null | undefined>
className?string

Címkék

A címkék a(z) Yuva chat oldalon vannak felsorolva.

Függőségek

Az elem telepítése a következőket is hozzáadja.

A shadcn/ui komponensei

További Yuva-elemek

npm-csomagok