Components/Content/Chat
component

Chat

src/components/chat.tsx

Import

import { Chat } from "@ossrandom/design-system";

Examples

Default

↗ Playground

API

extends BaseProps

PropType
messages required readonly ChatMessage[]
streaming boolean
placeholder string
onSend (text: string, attachments: readonly File[]) => void | Promise<void>; readonly onStop?: () => void; readonly suggestions?: readonly string[];