s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Messages · Components

ReplyForm

Inline reply form with quoted original

Public export

typescript
import { ReplyForm } from '@happyvertical/smrt-messages/svelte';
Import path
@happyvertical/smrt-messages/svelte
Props
4
Props described
4 of 4
Bindable state
0
Callback events
2
Verified release
0.44.0

Props

NameTypeRequiredDescription
originalMessageMessageDataYesMessage to reply to, shown as quoted text.
replyAllbooleanNoReply to all recipients when true; reply to sender only when false.
onsend(body: string) => voidNoCalled when user sends the reply.
oncancel() => voidNoCalled when user cancels the reply.

Bindable state

This component has no bindable public state.

Callback events

  • onsend(body: string) => void
  • oncancel() => void

Examples and explanation