Chat · Components
MessageItem
No summary has been written for MessageItem. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { MessageItem } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 6
- Props described
- 6 of 6
- Bindable state
- 0
- Callback events
- 4
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
messageChatMessageDataYesMessage data to renderisOwnbooleanYesWhether this message was sent by the current useronreply(id: string) => voidNoReply callbackonreact(id: string, emoji: string) => voidNoReact callbackonedit(id: string) => voidNoEdit callbackondelete(id: string) => voidNoDelete callbackBindable state
This component has no bindable public state.
Callback events
onreply(id: string) => voidonreact(id: string, emoji: string) => voidonedit(id: string) => voidondelete(id: string) => void