Chat · Components
ThreadPanel
Threaded conversation side panelPublic export
typescript
import { ThreadPanel } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
threadChatThreadDataYesThread metadatamessagesChatMessageData[]YesMessages in the threadcurrentProfileIdstringYesCurrent user's profile IDonsend(content: string) => voidYesSend a reply to the threadonclose() => voidYesClose the thread panelBindable state
This component has no bindable public state.
Callback events
onsend(content: string) => voidonclose() => void