Chat · Components
ChatTab
No summary has been written for ChatTab. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { ChatTab } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 7
- Props described
- 7 of 7
- Bindable state
- 0
- Callback events
- 4
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
tabChatTabStateYesTab statemessagesChatMessageData[]YesMessages in this chatcurrentProfileIdstringYesCurrent user's profile IDonsend(content: string) => voidYesSend a messageoncollapse() => voidYesCollapse this tabonclose() => voidYesClose this tabonexpand() => voidYesExpand this tabBindable state
This component has no bindable public state.
Callback events
onsend(content: string) => voidoncollapse() => voidonclose() => voidonexpand() => void