Przejdź do treści
Yuva chat composerMenu

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.

Podgląd działa na danych przykładowych. Nie potrzebuje sieci ani kanału.

Instalacja

Uruchom to w projekcie shadcn. Pliki zostaną skopiowane do twojego kodu.

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

Użycie

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

<YuvaChatComposer chat={chat} />

Props

YuvaChatComposerProps

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

Etykiety

Etykiety są wymienione na stronie Yuva chat.

Zależności

Instalacja tego elementu dodaje też poniższe.

Komponenty shadcn/ui

Inne elementy Yuva

Pakiety npm