కంటెంట్‌కు వెళ్ళు
Yuva chat composerమెనూ

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.

ప్రివ్యూ నమూనా డేటాతో నడుస్తుంది. దీనికి నెట్‌వర్క్ లేదా ఛానెల్ అవసరం లేదు.

ఇన్‌స్టాలేషన్

దీన్ని shadcn ప్రాజెక్ట్‌లో నడపండి. ఫైళ్లు మీ సొంత కోడ్‌లోకి కాపీ అవుతాయి.

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

వినియోగం

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

<YuvaChatComposer chat={chat} />

Props

YuvaChatComposerProps

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

లేబుల్స్

లేబుల్స్ Yuva chat పేజీలో జాబితా చేయబడ్డాయి.

ఆధారపడేవి

ఈ ఐటమ్‌ను ఇన్‌స్టాల్ చేస్తే కింది వాటిని కూడా జోడిస్తుంది.

shadcn/ui కాంపోనెంట్‌లు

Yuva యొక్క ఇతర ఐటమ్‌లు

npm ప్యాకేజీలు