smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Messages · Components

RecipientInput

No summary has been written for RecipientInput. Everything below is generated from the declaration shipped in 0.62.10 and describes the real contract.

Public export

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

Props

NameTypeRequiredDescription
labelstringNoField label such as To, Cc, or Bcc.
recipientsRecipientEntry[]YesArray of email recipients or addresses.
onchange(recipients: RecipientEntry[]) => voidNoCalled when user adds or removes a recipient.
placeholderstringNoPlaceholder text for the recipient input field.

Bindable state

This component has no bindable public state.

Callback events

  • onchange(recipients: RecipientEntry[]) => void

Examples and explanation