સામગ્રી પર જાઓ
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 પૅકેજ